Added Rectangle struct and core_input_gestures example (#12)
* Added Rectangle struct * Added core_input_gestures example to utilize the Rectangle struct * Removed unused imports
This commit is contained in:
parent
76e945e1c9
commit
6854ec4a3e
2 changed files with 108 additions and 1 deletions
|
@ -45,7 +45,7 @@ for name, attr in getmembers(rl):
|
|||
else:
|
||||
setattr(PyRay, name, attr)
|
||||
|
||||
for struct in ('Vector2','Vector3','Vector4','Camera2D', 'Camera3D', 'Quaternion', 'Color'):
|
||||
for struct in ('Vector2','Vector3','Vector4','Camera2D', 'Camera3D', 'Quaternion', 'Color', 'Rectangle'):
|
||||
f = makeStructHelper(struct)
|
||||
setattr(PyRay, struct, f)
|
||||
|
||||
|
|
Reference in a new issue