File tree Expand file tree Collapse file tree 13 files changed +389
-2706
lines changed
Expand file tree Collapse file tree 13 files changed +389
-2706
lines changed Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change 11import raylib
22
33RAYLIB_VERSION_MAJOR : int = 5
4- RAYLIB_VERSION_MINOR : int = 5
4+ RAYLIB_VERSION_MINOR : int = 6
55RAYLIB_VERSION_PATCH : int = 0
6- RAYLIB_VERSION : str = "5.5 "
6+ RAYLIB_VERSION : str = "5.6-dev "
77PI : float = 3.141592653589793
88DEG2RAD = PI / 180.0
99RAD2DEG = 180.0 / PI
Original file line number Diff line number Diff line change @@ -189,7 +189,7 @@ class GamepadButton(IntEnum):
189189 GAMEPAD_BUTTON_RIGHT_THUMB = 17
190190
191191class GamepadAxis (IntEnum ):
192- """Gamepad axis ."""
192+ """Gamepad axes ."""
193193 GAMEPAD_AXIS_LEFT_X = 0
194194 GAMEPAD_AXIS_LEFT_Y = 1
195195 GAMEPAD_AXIS_RIGHT_X = 2
@@ -242,6 +242,7 @@ class ShaderLocationIndex(IntEnum):
242242 SHADER_LOC_VERTEX_BONEIDS = 26
243243 SHADER_LOC_VERTEX_BONEWEIGHTS = 27
244244 SHADER_LOC_BONE_MATRICES = 28
245+ SHADER_LOC_VERTEX_INSTANCE_TX = 29
245246
246247class ShaderUniformDataType (IntEnum ):
247248 """Shader uniform data type."""
@@ -253,7 +254,11 @@ class ShaderUniformDataType(IntEnum):
253254 SHADER_UNIFORM_IVEC2 = 5
254255 SHADER_UNIFORM_IVEC3 = 6
255256 SHADER_UNIFORM_IVEC4 = 7
256- SHADER_UNIFORM_SAMPLER2D = 8
257+ SHADER_UNIFORM_UINT = 8
258+ SHADER_UNIFORM_UIVEC2 = 9
259+ SHADER_UNIFORM_UIVEC3 = 10
260+ SHADER_UNIFORM_UIVEC4 = 11
261+ SHADER_UNIFORM_SAMPLER2D = 12
257262
258263class ShaderAttributeDataType (IntEnum ):
259264 """Shader attribute data types."""
Load Diff Large diffs are not rendered by default.
Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change 11import raylib
22
33RAYLIB_VERSION_MAJOR : int = 5
4- RAYLIB_VERSION_MINOR : int = 5
4+ RAYLIB_VERSION_MINOR : int = 6
55RAYLIB_VERSION_PATCH : int = 0
6- RAYLIB_VERSION : str = "5.5 "
6+ RAYLIB_VERSION : str = "5.6-dev "
77PI : float = 3.141592653589793
88DEG2RAD = PI / 180.0
99RAD2DEG = 180.0 / PI
Original file line number Diff line number Diff line change @@ -189,7 +189,7 @@ class GamepadButton(IntEnum):
189189 GAMEPAD_BUTTON_RIGHT_THUMB = 17
190190
191191class GamepadAxis (IntEnum ):
192- """Gamepad axis ."""
192+ """Gamepad axes ."""
193193 GAMEPAD_AXIS_LEFT_X = 0
194194 GAMEPAD_AXIS_LEFT_Y = 1
195195 GAMEPAD_AXIS_RIGHT_X = 2
@@ -242,6 +242,7 @@ class ShaderLocationIndex(IntEnum):
242242 SHADER_LOC_VERTEX_BONEIDS = 26
243243 SHADER_LOC_VERTEX_BONEWEIGHTS = 27
244244 SHADER_LOC_BONE_MATRICES = 28
245+ SHADER_LOC_VERTEX_INSTANCE_TX = 29
245246
246247class ShaderUniformDataType (IntEnum ):
247248 """Shader uniform data type."""
@@ -253,7 +254,11 @@ class ShaderUniformDataType(IntEnum):
253254 SHADER_UNIFORM_IVEC2 = 5
254255 SHADER_UNIFORM_IVEC3 = 6
255256 SHADER_UNIFORM_IVEC4 = 7
256- SHADER_UNIFORM_SAMPLER2D = 8
257+ SHADER_UNIFORM_UINT = 8
258+ SHADER_UNIFORM_UIVEC2 = 9
259+ SHADER_UNIFORM_UIVEC3 = 10
260+ SHADER_UNIFORM_UIVEC4 = 11
261+ SHADER_UNIFORM_SAMPLER2D = 12
257262
258263class ShaderAttributeDataType (IntEnum ):
259264 """Shader attribute data types."""
Load Diff Large diffs are not rendered by default.
You can’t perform that action at this time.
0 commit comments