Blender Git Loki
Git Commits -> Revision 6329e20
Revision 6329e20 by Porteries Tristan (master) December 13, 2015, 01:09 (GMT) |
BGE: Use float as default instead of double in Moto library. Use float in moto instead of double for MT_Scalar. This switch allow future optimization like SSE. Additionally, it changes the OpenGL calls to float versions as they are very bad with doubles. Reviewers: campbellbarton, moguri, lordloki Reviewed By: lordloki Subscribers: brecht, lordloki Differential Revision: https://developer.blender.org/D1610 |
Commit Details:
Full Hash: 6329e20cbb64910d0d9de357df76473f93399975
Parent Commit: 9df6a53
Committed By: Jorge Bernal
Lines Changed: +59, -56
16 Modified Paths:
/intern/moto/include/MT_CmMatrix4x4.h (+8, -8) (Diff)
/intern/moto/include/MT_Scalar.h (+1, -1) (Diff)
/intern/moto/intern/MT_CmMatrix4x4.cpp (+5, -5) (Diff)
/source/gameengine/Ketsji/KX_FontObject.cpp (+4, -1) (Diff)
/source/gameengine/Ketsji/KX_GameObject.cpp (+4, -4) (Diff)
/source/gameengine/Ketsji/KX_GameObject.h (+1, -1) (Diff)
/source/gameengine/Ketsji/KX_Scene.cpp (+2, -2) (Diff)
/source/gameengine/Physics/Bullet/CcdPhysicsEnvironment.cpp (+4, -4) (Diff)
/source/gameengine/Physics/Bullet/CcdPhysicsEnvironment.h (+1, -1) (Diff)
/source/gameengine/Physics/common/PHY_IPhysicsEnvironment.h (+1, -1) (Diff)
/source/gameengine/Physics/Dummy/DummyPhysicsEnvironment.h (+1, -1) (Diff)
/source/gameengine/Rasterizer/RAS_IRasterizer.h (+1, -1) (Diff)
/source/gameengine/Rasterizer/RAS_MaterialBucket.h (+1, -1) (Diff)
/source/gameengine/Rasterizer/RAS_OpenGLRasterizer/RAS_OpenGLLight.cpp (+1, -1) (Diff)
/source/gameengine/Rasterizer/RAS_OpenGLRasterizer/RAS_OpenGLRasterizer.cpp (+22, -22) (Diff)
/source/gameengine/Rasterizer/RAS_OpenGLRasterizer/RAS_OpenGLRasterizer.h (+2, -2) (Diff)
/intern/moto/include/MT_Scalar.h (+1, -1) (Diff)
/intern/moto/intern/MT_CmMatrix4x4.cpp (+5, -5) (Diff)
/source/gameengine/Ketsji/KX_FontObject.cpp (+4, -1) (Diff)
/source/gameengine/Ketsji/KX_GameObject.cpp (+4, -4) (Diff)
/source/gameengine/Ketsji/KX_GameObject.h (+1, -1) (Diff)
/source/gameengine/Ketsji/KX_Scene.cpp (+2, -2) (Diff)
/source/gameengine/Physics/Bullet/CcdPhysicsEnvironment.cpp (+4, -4) (Diff)
/source/gameengine/Physics/Bullet/CcdPhysicsEnvironment.h (+1, -1) (Diff)
/source/gameengine/Physics/common/PHY_IPhysicsEnvironment.h (+1, -1) (Diff)
/source/gameengine/Physics/Dummy/DummyPhysicsEnvironment.h (+1, -1) (Diff)
/source/gameengine/Rasterizer/RAS_IRasterizer.h (+1, -1) (Diff)
/source/gameengine/Rasterizer/RAS_MaterialBucket.h (+1, -1) (Diff)
/source/gameengine/Rasterizer/RAS_OpenGLRasterizer/RAS_OpenGLLight.cpp (+1, -1) (Diff)
/source/gameengine/Rasterizer/RAS_OpenGLRasterizer/RAS_OpenGLRasterizer.cpp (+22, -22) (Diff)
/source/gameengine/Rasterizer/RAS_OpenGLRasterizer/RAS_OpenGLRasterizer.h (+2, -2) (Diff)