[DEV] update to the etk normalisation
This commit is contained in:
parent
65bc92f98e
commit
8f291a74be
@ -15,7 +15,7 @@ namespace ege {
|
|||||||
};
|
};
|
||||||
#include <ege/Camera.h>
|
#include <ege/Camera.h>
|
||||||
|
|
||||||
#include <etk/UString.h>
|
#include <etk/types.h>
|
||||||
#include <BulletDynamics/Dynamics/btActionInterface.h>
|
#include <BulletDynamics/Dynamics/btActionInterface.h>
|
||||||
class btDynamicsWorld;
|
class btDynamicsWorld;
|
||||||
|
|
||||||
|
@ -13,7 +13,7 @@ namespace ege {
|
|||||||
class Particule;
|
class Particule;
|
||||||
};
|
};
|
||||||
|
|
||||||
#include <etk/UString.h>
|
#include <etk/types.h>
|
||||||
#include <ege/Environement.h>
|
#include <ege/Environement.h>
|
||||||
#include <ege/Camera.h>
|
#include <ege/Camera.h>
|
||||||
|
|
||||||
|
@ -15,7 +15,7 @@ namespace ege {
|
|||||||
class ParticuleEngine;
|
class ParticuleEngine;
|
||||||
};
|
};
|
||||||
|
|
||||||
#include <etk/UString.h>
|
#include <etk/types.h>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <ege/Particule.h>
|
#include <ege/Particule.h>
|
||||||
|
|
||||||
|
@ -13,7 +13,7 @@ namespace ege {
|
|||||||
class ParticuleSimple;
|
class ParticuleSimple;
|
||||||
};
|
};
|
||||||
|
|
||||||
#include <etk/UString.h>
|
#include <etk/types.h>
|
||||||
#include <etk/math/Vector2D.h>
|
#include <etk/math/Vector2D.h>
|
||||||
#include <etk/math/Vector3D.h>
|
#include <etk/math/Vector3D.h>
|
||||||
#include <etk/math/Vector4D.h>
|
#include <etk/math/Vector4D.h>
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
ege::PhysicsShape* ege::PhysicsShape::create(const std::string& _name) {
|
ege::PhysicsShape* ege::PhysicsShape::create(const std::string& _name) {
|
||||||
ege::PhysicsShape* tmpp = NULL;
|
ege::PhysicsShape* tmpp = NULL;
|
||||||
std::string name = to_lower(_name);
|
std::string name = std::tolower(_name);
|
||||||
if (name == "box") {
|
if (name == "box") {
|
||||||
tmpp = new ege::PhysicsBox();
|
tmpp = new ege::PhysicsBox();
|
||||||
} else if (name == "sphere") {
|
} else if (name == "sphere") {
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
|
|
||||||
|
|
||||||
#include <etk/types.h>
|
#include <etk/types.h>
|
||||||
#include <etk/UString.h>
|
#include <etk/types.h>
|
||||||
#include <etk/math/Vector4D.h>
|
#include <etk/math/Vector4D.h>
|
||||||
#include <etk/math/Vector3D.h>
|
#include <etk/math/Vector3D.h>
|
||||||
|
|
||||||
|
@ -47,7 +47,7 @@ ege::resource::Mesh::Mesh(const std::string& _fileName, const std::string& _shad
|
|||||||
m_verticesVBO = ewol::resource::VirtualBufferObject::keep(4);
|
m_verticesVBO = ewol::resource::VirtualBufferObject::keep(4);
|
||||||
|
|
||||||
// load the curent file :
|
// load the curent file :
|
||||||
std::string tmpName = to_lower(_fileName);
|
std::string tmpName = std::tolower(_fileName);
|
||||||
// select the corect loader :
|
// select the corect loader :
|
||||||
if (end_with(tmpName, ".obj") == true) {
|
if (end_with(tmpName, ".obj") == true) {
|
||||||
if (loadOBJ(_fileName) == false) {
|
if (loadOBJ(_fileName) == false) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user