-
-
Notifications
You must be signed in to change notification settings - Fork 183
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
UPBGE: Implement PyObjectFrom with float array.
Previously when we only get a float array and wanted to convert it to python vector we were obligated to convert first to MT_Vector. To avoid this extra conversion PyObjectFrom is also implemented for float array of a template size. This improvement is used mainly in KX_VertexProxy, but in consideration the data passed to PyObjectFrom must be a array reference not a pointer, to do so the getter in RAS_Vertex are modified.
- Loading branch information
1 parent
a3e48cc
commit 4326995
Showing
4 changed files
with
30 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters