[DEV] replace 'include guard' with 'pragma once'
This commit is contained in:
parent
2393c4da35
commit
15ada13bf8
@ -5,14 +5,11 @@
|
|||||||
*
|
*
|
||||||
* @license BSD v3 (see license file)
|
* @license BSD v3 (see license file)
|
||||||
*/
|
*/
|
||||||
|
#pragma once
|
||||||
#ifndef __EGE_AUDIO_ELEMENT_H__
|
|
||||||
#define __EGE_AUDIO_ELEMENT_H__
|
|
||||||
|
|
||||||
namespace ege {
|
namespace ege {
|
||||||
|
|
||||||
};
|
}
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -5,14 +5,10 @@
|
|||||||
*
|
*
|
||||||
* @license BSD v3 (see license file)
|
* @license BSD v3 (see license file)
|
||||||
*/
|
*/
|
||||||
|
#pragma once
|
||||||
#ifndef __EGE_AUDIO_ENGINE_H__
|
|
||||||
#define __EGE_AUDIO_ENGINE_H__
|
|
||||||
|
|
||||||
namespace ege {
|
namespace ege {
|
||||||
|
|
||||||
};
|
}
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -6,9 +6,7 @@
|
|||||||
* @license BSD v3 (see license file)
|
* @license BSD v3 (see license file)
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
#pragma once
|
||||||
#ifndef __EGE_COLLISION_SHAPE_CREATOR_H__
|
|
||||||
#define __EGE_COLLISION_SHAPE_CREATOR_H__
|
|
||||||
|
|
||||||
#include <etk/types.h>
|
#include <etk/types.h>
|
||||||
#include <ege/resource/Mesh.h>
|
#include <ege/resource/Mesh.h>
|
||||||
@ -17,7 +15,6 @@
|
|||||||
namespace ege {
|
namespace ege {
|
||||||
namespace collision {
|
namespace collision {
|
||||||
btCollisionShape* createShape(const std::shared_ptr<ege::resource::Mesh>& _mesh);
|
btCollisionShape* createShape(const std::shared_ptr<ege::resource::Mesh>& _mesh);
|
||||||
};
|
}
|
||||||
};
|
}
|
||||||
#endif
|
|
||||||
|
|
||||||
|
@ -5,9 +5,7 @@
|
|||||||
*
|
*
|
||||||
* @license BSD v3 (see license file)
|
* @license BSD v3 (see license file)
|
||||||
*/
|
*/
|
||||||
|
#pragma once
|
||||||
#ifndef __EGE_ENVIRONEMENT_H__
|
|
||||||
#define __EGE_ENVIRONEMENT_H__
|
|
||||||
|
|
||||||
namespace ege {
|
namespace ege {
|
||||||
class Environement;
|
class Environement;
|
||||||
@ -276,8 +274,6 @@ namespace ege {
|
|||||||
}
|
}
|
||||||
virtual void onParameterChangeValue(const ewol::parameter::Ref& _paramPointer);
|
virtual void onParameterChangeValue(const ewol::parameter::Ref& _paramPointer);
|
||||||
};
|
};
|
||||||
};
|
}
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -5,9 +5,7 @@
|
|||||||
*
|
*
|
||||||
* @license BSD v3 (see license file)
|
* @license BSD v3 (see license file)
|
||||||
*/
|
*/
|
||||||
|
#pragma once
|
||||||
#ifndef __EGE_SCENE_H__
|
|
||||||
#define __EGE_SCENE_H__
|
|
||||||
|
|
||||||
#include <etk/types.h>
|
#include <etk/types.h>
|
||||||
#include <etk/math/Vector3D.h>
|
#include <etk/math/Vector3D.h>
|
||||||
@ -49,9 +47,5 @@ namespace ege {
|
|||||||
ege::PhysicEngine m_physicEngine; //!< physic engine interface
|
ege::PhysicEngine m_physicEngine; //!< physic engine interface
|
||||||
ege::AudioEngine m_AudioEngine; //!< physic engine interface
|
ege::AudioEngine m_AudioEngine; //!< physic engine interface
|
||||||
ege::IAEngine m_iAEngine; //!< physic engine interface
|
ege::IAEngine m_iAEngine; //!< physic engine interface
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
#endif
|
|
||||||
|
@ -5,9 +5,7 @@
|
|||||||
*
|
*
|
||||||
* @license BSD v3 (see license file)
|
* @license BSD v3 (see license file)
|
||||||
*/
|
*/
|
||||||
|
#pragma once
|
||||||
#ifndef __EGE_LIGHT_H__
|
|
||||||
#define __EGE_LIGHT_H__
|
|
||||||
|
|
||||||
#include <etk/types.h>
|
#include <etk/types.h>
|
||||||
#include <etk/math/Vector3D.h>
|
#include <etk/math/Vector3D.h>
|
||||||
@ -54,8 +52,5 @@ namespace ege {
|
|||||||
friend std::ostream& operator <<(std::ostream& _os, const ege::Light& _obj);
|
friend std::ostream& operator <<(std::ostream& _os, const ege::Light& _obj);
|
||||||
};
|
};
|
||||||
std::ostream& operator <<(std::ostream& _os, const ege::Light& _obj);
|
std::ostream& operator <<(std::ostream& _os, const ege::Light& _obj);
|
||||||
};
|
}
|
||||||
|
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
@ -5,9 +5,7 @@
|
|||||||
*
|
*
|
||||||
* @license BSD v3 (see license file)
|
* @license BSD v3 (see license file)
|
||||||
*/
|
*/
|
||||||
|
#pragma once
|
||||||
#ifndef __EGE_MATERIAL_H__
|
|
||||||
#define __EGE_MATERIAL_H__
|
|
||||||
|
|
||||||
#include <etk/types.h>
|
#include <etk/types.h>
|
||||||
#include <etk/math/Vector3D.h>
|
#include <etk/math/Vector3D.h>
|
||||||
@ -88,9 +86,6 @@ namespace ege {
|
|||||||
m_texture0->flush();
|
m_texture0->flush();
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
}
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
@ -5,9 +5,7 @@
|
|||||||
*
|
*
|
||||||
* @license BSD v3 (see license file)
|
* @license BSD v3 (see license file)
|
||||||
*/
|
*/
|
||||||
|
#pragma once
|
||||||
#ifndef __EGE_PARTICULE_H__
|
|
||||||
#define __EGE_PARTICULE_H__
|
|
||||||
|
|
||||||
namespace ege {
|
namespace ege {
|
||||||
class Particule;
|
class Particule;
|
||||||
@ -76,8 +74,7 @@ namespace ege {
|
|||||||
*/
|
*/
|
||||||
virtual void onEnd() {};
|
virtual void onEnd() {};
|
||||||
};
|
};
|
||||||
};
|
}
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -7,9 +7,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include <ege/Environement.h>
|
#include <ege/Environement.h>
|
||||||
|
#pragma once
|
||||||
#ifndef __EGE_PARTICULE_ENGINE_H__
|
|
||||||
#define __EGE_PARTICULE_ENGINE_H__
|
|
||||||
|
|
||||||
namespace ege {
|
namespace ege {
|
||||||
class ParticuleEngine;
|
class ParticuleEngine;
|
||||||
@ -66,8 +64,6 @@ namespace ege {
|
|||||||
Particule* respown(const char* _particuleType);
|
Particule* respown(const char* _particuleType);
|
||||||
|
|
||||||
};
|
};
|
||||||
};
|
}
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -5,9 +5,7 @@
|
|||||||
*
|
*
|
||||||
* @license BSD v3 (see license file)
|
* @license BSD v3 (see license file)
|
||||||
*/
|
*/
|
||||||
|
#pragma once
|
||||||
#ifndef __EGE_PARTICULE_SIMPLE_H__
|
|
||||||
#define __EGE_PARTICULE_SIMPLE_H__
|
|
||||||
|
|
||||||
namespace ege {
|
namespace ege {
|
||||||
class ParticuleSimple;
|
class ParticuleSimple;
|
||||||
@ -65,8 +63,6 @@ namespace ege {
|
|||||||
virtual void setScale(const vec3& _scale);
|
virtual void setScale(const vec3& _scale);
|
||||||
virtual void setScaleExpend(const vec3& _scaleExpand);
|
virtual void setScaleExpend(const vec3& _scaleExpand);
|
||||||
};
|
};
|
||||||
};
|
}
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -5,9 +5,7 @@
|
|||||||
*
|
*
|
||||||
* @license BSD v3 (see license file)
|
* @license BSD v3 (see license file)
|
||||||
*/
|
*/
|
||||||
|
#pragma once
|
||||||
#ifndef __EGE_RAY_H__
|
|
||||||
#define __EGE_RAY_H__
|
|
||||||
|
|
||||||
#include <etk/math/Vector3D.h>
|
#include <etk/math/Vector3D.h>
|
||||||
namespace ege {
|
namespace ege {
|
||||||
@ -73,6 +71,5 @@ namespace ege {
|
|||||||
vec3 testRayZeroPlane();
|
vec3 testRayZeroPlane();
|
||||||
};
|
};
|
||||||
std::ostream& operator <<(std::ostream& _os, const ege::Ray& _obj);
|
std::ostream& operator <<(std::ostream& _os, const ege::Ray& _obj);
|
||||||
};
|
}
|
||||||
|
|
||||||
#endif
|
|
||||||
|
@ -6,8 +6,7 @@
|
|||||||
* @license BSD v3 (see license file)
|
* @license BSD v3 (see license file)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __EGE_CAMERA_H__
|
#pragma once
|
||||||
#define __EGE_CAMERA_H__
|
|
||||||
|
|
||||||
|
|
||||||
#include <etk/types.h>
|
#include <etk/types.h>
|
||||||
@ -173,9 +172,6 @@ namespace ege {
|
|||||||
* @param[in,out] draw Basic system to draw the debug shape and informations
|
* @param[in,out] draw Basic system to draw the debug shape and informations
|
||||||
*/
|
*/
|
||||||
virtual void drawDebug(const std::shared_ptr<ewol::resource::Colored3DObject>& _draw, const std::shared_ptr<ege::Camera>& _camera) { }
|
virtual void drawDebug(const std::shared_ptr<ewol::resource::Colored3DObject>& _draw, const std::shared_ptr<ege::Camera>& _camera) { }
|
||||||
|
|
||||||
};
|
};
|
||||||
};
|
}
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
@ -5,9 +5,7 @@
|
|||||||
*
|
*
|
||||||
* @license BSD v3 (see license file)
|
* @license BSD v3 (see license file)
|
||||||
*/
|
*/
|
||||||
|
#pragma once
|
||||||
#ifndef __EGE_CAMERA_VIEW_H__
|
|
||||||
#define __EGE_CAMERA_VIEW_H__
|
|
||||||
|
|
||||||
#include <ege/camera/Camera.h>
|
#include <ege/camera/Camera.h>
|
||||||
|
|
||||||
@ -81,8 +79,6 @@ namespace ege {
|
|||||||
virtual float getTetha();
|
virtual float getTetha();
|
||||||
virtual float getPsy();
|
virtual float getPsy();
|
||||||
};
|
};
|
||||||
};
|
}
|
||||||
};
|
}
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
@ -5,9 +5,7 @@
|
|||||||
*
|
*
|
||||||
* @license BSD v3 (see license file)
|
* @license BSD v3 (see license file)
|
||||||
*/
|
*/
|
||||||
|
#pragma once
|
||||||
#ifndef __EGE_DEBUG_H__
|
|
||||||
#define __EGE_DEBUG_H__
|
|
||||||
|
|
||||||
#include <etk/log.h>
|
#include <etk/log.h>
|
||||||
|
|
||||||
@ -39,5 +37,4 @@ namespace ege {
|
|||||||
} \
|
} \
|
||||||
} while (0)
|
} while (0)
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
@ -5,9 +5,7 @@
|
|||||||
*
|
*
|
||||||
* @license BSD v3 (see license file)
|
* @license BSD v3 (see license file)
|
||||||
*/
|
*/
|
||||||
|
#pragma once
|
||||||
#ifndef __EGE_ELEMENT_H__
|
|
||||||
#define __EGE_ELEMENT_H__
|
|
||||||
|
|
||||||
#include <etk/types.h>
|
#include <etk/types.h>
|
||||||
#include <etk/math/Vector3D.h>
|
#include <etk/math/Vector3D.h>
|
||||||
@ -230,8 +228,6 @@ namespace ege {
|
|||||||
*/
|
*/
|
||||||
virtual void dynamicDisable() {};
|
virtual void dynamicDisable() {};
|
||||||
};
|
};
|
||||||
};
|
}
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -5,9 +5,7 @@
|
|||||||
*
|
*
|
||||||
* @license BSD v3 (see license file)
|
* @license BSD v3 (see license file)
|
||||||
*/
|
*/
|
||||||
|
#pragma once
|
||||||
#ifndef __EGE_ELEMENT_BASE_H__
|
|
||||||
#define __EGE_ELEMENT_BASE_H__
|
|
||||||
|
|
||||||
#include <ege/elements/Element.h>
|
#include <ege/elements/Element.h>
|
||||||
|
|
||||||
@ -37,8 +35,5 @@ namespace ege {
|
|||||||
virtual const vec3& getPosition();
|
virtual const vec3& getPosition();
|
||||||
virtual void setPosition(const vec3& _pos);
|
virtual void setPosition(const vec3& _pos);
|
||||||
};
|
};
|
||||||
};
|
}
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -5,9 +5,7 @@
|
|||||||
*
|
*
|
||||||
* @license BSD v3 (see license file)
|
* @license BSD v3 (see license file)
|
||||||
*/
|
*/
|
||||||
|
#pragma once
|
||||||
#ifndef __EGE_ELEMENT_PHYSIC_H__
|
|
||||||
#define __EGE_ELEMENT_PHYSIC_H__
|
|
||||||
|
|
||||||
#include <etk/types.h>
|
#include <etk/types.h>
|
||||||
#include <etk/math/Vector3D.h>
|
#include <etk/math/Vector3D.h>
|
||||||
@ -208,8 +206,6 @@ namespace ege {
|
|||||||
*/
|
*/
|
||||||
virtual void onCollisionDetected(const std::shared_ptr<ege::Element>& _obj, const vec3& _point, const vec3& _normal) {};
|
virtual void onCollisionDetected(const std::shared_ptr<ege::Element>& _obj, const vec3& _point, const vec3& _normal) {};
|
||||||
};
|
};
|
||||||
};
|
}
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -5,9 +5,7 @@
|
|||||||
*
|
*
|
||||||
* @license BSD v3 (see license file)
|
* @license BSD v3 (see license file)
|
||||||
*/
|
*/
|
||||||
|
#pragma once
|
||||||
#ifndef __EGE_PHYSICS_ENGINE_H__
|
|
||||||
#define __EGE_PHYSICS_ENGINE_H__
|
|
||||||
|
|
||||||
namespace ege {
|
namespace ege {
|
||||||
namespace physics {
|
namespace physics {
|
||||||
@ -99,7 +97,6 @@ namespace ege {
|
|||||||
*/
|
*/
|
||||||
std::vector<ege::physics::Engine::collisionPoints> getListOfCollision();
|
std::vector<ege::physics::Engine::collisionPoints> getListOfCollision();
|
||||||
};
|
};
|
||||||
};
|
}
|
||||||
};
|
}
|
||||||
|
|
||||||
#endif
|
|
||||||
|
@ -5,9 +5,7 @@
|
|||||||
*
|
*
|
||||||
* @license BSD v3 (see license file)
|
* @license BSD v3 (see license file)
|
||||||
*/
|
*/
|
||||||
|
#pragma once
|
||||||
#ifndef __EGE_PHYSICS_BOX_H__
|
|
||||||
#define __EGE_PHYSICS_BOX_H__
|
|
||||||
|
|
||||||
|
|
||||||
#include <etk/types.h>
|
#include <etk/types.h>
|
||||||
@ -42,6 +40,5 @@ namespace ege {
|
|||||||
return this;
|
return this;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
}
|
||||||
|
|
||||||
#endif
|
|
||||||
|
@ -5,9 +5,7 @@
|
|||||||
*
|
*
|
||||||
* @license BSD v3 (see license file)
|
* @license BSD v3 (see license file)
|
||||||
*/
|
*/
|
||||||
|
#pragma once
|
||||||
#ifndef __EGE_PHYSICS_CAPSULE_H__
|
|
||||||
#define __EGE_PHYSICS_CAPSULE_H__
|
|
||||||
|
|
||||||
|
|
||||||
#include <etk/types.h>
|
#include <etk/types.h>
|
||||||
@ -46,7 +44,5 @@ namespace ege {
|
|||||||
return this;
|
return this;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
}
|
||||||
|
|
||||||
|
|
||||||
#endif
|
|
||||||
|
@ -5,15 +5,11 @@
|
|||||||
*
|
*
|
||||||
* @license BSD v3 (see license file)
|
* @license BSD v3 (see license file)
|
||||||
*/
|
*/
|
||||||
|
#pragma once
|
||||||
#ifndef __EGE_PHYSICS_CONE_H__
|
|
||||||
#define __EGE_PHYSICS_CONE_H__
|
|
||||||
|
|
||||||
|
|
||||||
#include <etk/types.h>
|
#include <etk/types.h>
|
||||||
#include <ege/physicsShape/PhysicsShape.h>
|
#include <ege/physicsShape/PhysicsShape.h>
|
||||||
|
|
||||||
|
|
||||||
namespace ege {
|
namespace ege {
|
||||||
class PhysicsCone : public ege::PhysicsShape {
|
class PhysicsCone : public ege::PhysicsShape {
|
||||||
public:
|
public:
|
||||||
@ -46,7 +42,5 @@ namespace ege {
|
|||||||
return this;
|
return this;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
}
|
||||||
|
|
||||||
|
|
||||||
#endif
|
|
||||||
|
@ -5,15 +5,11 @@
|
|||||||
*
|
*
|
||||||
* @license BSD v3 (see license file)
|
* @license BSD v3 (see license file)
|
||||||
*/
|
*/
|
||||||
|
#pragma once
|
||||||
#ifndef __EGE_PHYSICS_CONVEX_HULL_H__
|
|
||||||
#define __EGE_PHYSICS_CONVEX_HULL_H__
|
|
||||||
|
|
||||||
|
|
||||||
#include <etk/types.h>
|
#include <etk/types.h>
|
||||||
#include <ege/physicsShape/PhysicsShape.h>
|
#include <ege/physicsShape/PhysicsShape.h>
|
||||||
|
|
||||||
|
|
||||||
namespace ege {
|
namespace ege {
|
||||||
class PhysicsConvexHull : public ege::PhysicsShape {
|
class PhysicsConvexHull : public ege::PhysicsShape {
|
||||||
public:
|
public:
|
||||||
@ -46,7 +42,5 @@ namespace ege {
|
|||||||
return this;
|
return this;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
}
|
||||||
|
|
||||||
|
|
||||||
#endif
|
|
||||||
|
@ -5,9 +5,7 @@
|
|||||||
*
|
*
|
||||||
* @license BSD v3 (see license file)
|
* @license BSD v3 (see license file)
|
||||||
*/
|
*/
|
||||||
|
#pragma once
|
||||||
#ifndef __EGE_PHYSICS_CYLINDER_H__
|
|
||||||
#define __EGE_PHYSICS_CYLINDER_H__
|
|
||||||
|
|
||||||
|
|
||||||
#include <etk/types.h>
|
#include <etk/types.h>
|
||||||
@ -40,6 +38,5 @@ namespace ege {
|
|||||||
return this;
|
return this;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
}
|
||||||
|
|
||||||
#endif
|
|
||||||
|
@ -5,10 +5,7 @@
|
|||||||
*
|
*
|
||||||
* @license BSD v3 (see license file)
|
* @license BSD v3 (see license file)
|
||||||
*/
|
*/
|
||||||
|
#pragma once
|
||||||
#ifndef __EGE_PHYSICS_SHAPE_H__
|
|
||||||
#define __EGE_PHYSICS_SHAPE_H__
|
|
||||||
|
|
||||||
|
|
||||||
#include <etk/types.h>
|
#include <etk/types.h>
|
||||||
#include <etk/types.h>
|
#include <etk/types.h>
|
||||||
@ -131,8 +128,5 @@ namespace ege {
|
|||||||
return nullptr;
|
return nullptr;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
}
|
||||||
|
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
@ -5,9 +5,7 @@
|
|||||||
*
|
*
|
||||||
* @license BSD v3 (see license file)
|
* @license BSD v3 (see license file)
|
||||||
*/
|
*/
|
||||||
|
#pragma once
|
||||||
#ifndef __EGE_PHYSICS_SPHERE_H__
|
|
||||||
#define __EGE_PHYSICS_SPHERE_H__
|
|
||||||
|
|
||||||
|
|
||||||
#include <etk/types.h>
|
#include <etk/types.h>
|
||||||
@ -43,6 +41,5 @@ namespace ege {
|
|||||||
return this;
|
return this;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
}
|
||||||
|
|
||||||
#endif
|
|
||||||
|
@ -5,9 +5,7 @@
|
|||||||
*
|
*
|
||||||
* @license BSD v3 (see license file)
|
* @license BSD v3 (see license file)
|
||||||
*/
|
*/
|
||||||
|
#pragma once
|
||||||
#ifndef __EGE_MESH_H__
|
|
||||||
#define __EGE_MESH_H__
|
|
||||||
|
|
||||||
#include <etk/types.h>
|
#include <etk/types.h>
|
||||||
#include <etk/Hash.h>
|
#include <etk/Hash.h>
|
||||||
@ -298,8 +296,6 @@ namespace ege {
|
|||||||
int32_t findTextureInList(const vec2& _uv);
|
int32_t findTextureInList(const vec2& _uv);
|
||||||
int32_t findColorInList(const etk::Color<float>& _color);
|
int32_t findColorInList(const etk::Color<float>& _color);
|
||||||
};
|
};
|
||||||
};
|
}
|
||||||
};
|
}
|
||||||
|
|
||||||
|
|
||||||
#endif
|
|
||||||
|
@ -5,9 +5,7 @@
|
|||||||
*
|
*
|
||||||
* @license BSD v3 (see license file)
|
* @license BSD v3 (see license file)
|
||||||
*/
|
*/
|
||||||
|
#pragma once
|
||||||
#ifndef __EGE_RESOURCE_PARTICULE_MESH_H__
|
|
||||||
#define __EGE_RESOURCE_PARTICULE_MESH_H__
|
|
||||||
|
|
||||||
#include <ege/resource/Mesh.h>
|
#include <ege/resource/Mesh.h>
|
||||||
|
|
||||||
@ -28,8 +26,5 @@ namespace ege {
|
|||||||
bool _enableDepthTest = true,
|
bool _enableDepthTest = true,
|
||||||
bool _enableDepthUpdate = true);
|
bool _enableDepthUpdate = true);
|
||||||
};
|
};
|
||||||
};
|
}
|
||||||
};
|
}
|
||||||
|
|
||||||
|
|
||||||
#endif
|
|
@ -5,9 +5,7 @@
|
|||||||
*
|
*
|
||||||
* @license BSD v3 (see license file)
|
* @license BSD v3 (see license file)
|
||||||
*/
|
*/
|
||||||
|
#pragma once
|
||||||
#ifndef __EGE_FACE_H__
|
|
||||||
#define __EGE_FACE_H__
|
|
||||||
|
|
||||||
namespace ege {
|
namespace ege {
|
||||||
/**
|
/**
|
||||||
@ -101,6 +99,5 @@ namespace ege {
|
|||||||
m_color[2] = _c3;
|
m_color[2] = _c3;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
};
|
}
|
||||||
|
|
||||||
#endif
|
|
||||||
|
@ -5,9 +5,7 @@
|
|||||||
*
|
*
|
||||||
* @license BSD v3 (see license file)
|
* @license BSD v3 (see license file)
|
||||||
*/
|
*/
|
||||||
|
#pragma once
|
||||||
#ifndef __EGE_FACE_INDEXING_H__
|
|
||||||
#define __EGE_FACE_INDEXING_H__
|
|
||||||
|
|
||||||
namespace ege {
|
namespace ege {
|
||||||
class FaceIndexing {
|
class FaceIndexing {
|
||||||
@ -15,7 +13,5 @@ namespace ege {
|
|||||||
std::vector<Face> m_faces;
|
std::vector<Face> m_faces;
|
||||||
std::vector<uint32_t> m_index;
|
std::vector<uint32_t> m_index;
|
||||||
};
|
};
|
||||||
};
|
}
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
@ -5,9 +5,7 @@
|
|||||||
*
|
*
|
||||||
* @license BSD v3 (see license file)
|
* @license BSD v3 (see license file)
|
||||||
*/
|
*/
|
||||||
|
#pragma once
|
||||||
#ifndef __EGE_TOOLS_ICOSPHERE_H__
|
|
||||||
#define __EGE_TOOLS_ICOSPHERE_H__
|
|
||||||
|
|
||||||
#include <ege/resource/tools/Face.h>
|
#include <ege/resource/tools/Face.h>
|
||||||
#include <ege/resource/tools/FaceIndexing.h>
|
#include <ege/resource/tools/FaceIndexing.h>
|
||||||
@ -18,9 +16,6 @@ namespace ege {
|
|||||||
namespace icoSphere {
|
namespace icoSphere {
|
||||||
void create(etk::Hash<std::shared_ptr<ege::Material>>& _materials, etk::Hash<FaceIndexing>& _listFaces, std::vector<vec3>& _listVertex, std::vector<vec2>& _listUV,
|
void create(etk::Hash<std::shared_ptr<ege::Material>>& _materials, etk::Hash<FaceIndexing>& _listFaces, std::vector<vec3>& _listVertex, std::vector<vec2>& _listUV,
|
||||||
const std::string& _materialName, float _size, int32_t _recursionLevel);
|
const std::string& _materialName, float _size, int32_t _recursionLevel);
|
||||||
};
|
}
|
||||||
};
|
}
|
||||||
|
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
@ -5,9 +5,7 @@
|
|||||||
*
|
*
|
||||||
* @license BSD v3 (see license file)
|
* @license BSD v3 (see license file)
|
||||||
*/
|
*/
|
||||||
|
#pragma once
|
||||||
#ifndef __EGE_TOOLS_ISOSPHERE_H__
|
|
||||||
#define __EGE_TOOLS_ISOSPHERE_H__
|
|
||||||
|
|
||||||
#include <ege/resource/tools/Face.h>
|
#include <ege/resource/tools/Face.h>
|
||||||
#include <ege/resource/tools/FaceIndexing.h>
|
#include <ege/resource/tools/FaceIndexing.h>
|
||||||
@ -18,9 +16,6 @@ namespace ege {
|
|||||||
namespace isoSphere {
|
namespace isoSphere {
|
||||||
void create(etk::Hash<std::shared_ptr<ege::Material>>& _materials, etk::Hash<FaceIndexing>& _listFaces, std::vector<vec3>& _listVertex, std::vector<vec2>& _listUV,
|
void create(etk::Hash<std::shared_ptr<ege::Material>>& _materials, etk::Hash<FaceIndexing>& _listFaces, std::vector<vec3>& _listVertex, std::vector<vec2>& _listUV,
|
||||||
const std::string& _materialName, int32_t _recursionLevel);
|
const std::string& _materialName, int32_t _recursionLevel);
|
||||||
};
|
}
|
||||||
};
|
}
|
||||||
|
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
@ -5,9 +5,7 @@
|
|||||||
*
|
*
|
||||||
* @license BSD v3 (see license file)
|
* @license BSD v3 (see license file)
|
||||||
*/
|
*/
|
||||||
|
#pragma once
|
||||||
#ifndef __EGE_TOOLS_VIEWBOX_H__
|
|
||||||
#define __EGE_TOOLS_VIEWBOX_H__
|
|
||||||
|
|
||||||
#include <ege/resource/tools/Face.h>
|
#include <ege/resource/tools/Face.h>
|
||||||
#include <ege/resource/tools/FaceIndexing.h>
|
#include <ege/resource/tools/FaceIndexing.h>
|
||||||
@ -18,9 +16,6 @@ namespace ege {
|
|||||||
namespace viewBox {
|
namespace viewBox {
|
||||||
void create(etk::Hash<std::shared_ptr<ege::Material>>& _materials, etk::Hash<FaceIndexing>& _listFaces, std::vector<vec3>& _listVertex, std::vector<vec2>& _listUV,
|
void create(etk::Hash<std::shared_ptr<ege::Material>>& _materials, etk::Hash<FaceIndexing>& _listFaces, std::vector<vec3>& _listVertex, std::vector<vec2>& _listUV,
|
||||||
const std::string& _materialName, float _size);
|
const std::string& _materialName, float _size);
|
||||||
};
|
}
|
||||||
};
|
}
|
||||||
|
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
@ -5,9 +5,7 @@
|
|||||||
*
|
*
|
||||||
* @license BSD v3 (see license file)
|
* @license BSD v3 (see license file)
|
||||||
*/
|
*/
|
||||||
|
#pragma once
|
||||||
#ifndef __EWOL_WIDGET_MESH_H__
|
|
||||||
#define __EWOL_WIDGET_MESH_H__
|
|
||||||
|
|
||||||
#include <etk/types.h>
|
#include <etk/types.h>
|
||||||
#include <ewol/widget/Widget.h>
|
#include <ewol/widget/Widget.h>
|
||||||
@ -68,8 +66,5 @@ namespace ege {
|
|||||||
*/
|
*/
|
||||||
void setDistance(float _distance);
|
void setDistance(float _distance);
|
||||||
};
|
};
|
||||||
};
|
}
|
||||||
};
|
}
|
||||||
|
|
||||||
|
|
||||||
#endif
|
|
@ -5,9 +5,7 @@
|
|||||||
*
|
*
|
||||||
* @license BSD v3 (see license file)
|
* @license BSD v3 (see license file)
|
||||||
*/
|
*/
|
||||||
|
#pragma once
|
||||||
#ifndef __EGE_SCENE_H__
|
|
||||||
#define __EGE_SCENE_H__
|
|
||||||
|
|
||||||
#include <etk/types.h>
|
#include <etk/types.h>
|
||||||
#include <etk/math/Vector3D.h>
|
#include <etk/math/Vector3D.h>
|
||||||
@ -116,9 +114,6 @@ namespace ege {
|
|||||||
return m_debugApplication.get();
|
return m_debugApplication.get();
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
};
|
}
|
||||||
};
|
}
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -5,9 +5,7 @@
|
|||||||
*
|
*
|
||||||
* @license APACHE-2 (see license file)
|
* @license APACHE-2 (see license file)
|
||||||
*/
|
*/
|
||||||
|
#pragma once
|
||||||
#ifndef __APPL_WINDOWS_H__
|
|
||||||
#define __APPL_WINDOWS_H__
|
|
||||||
|
|
||||||
#include <ewol/widget/Windows.h>
|
#include <ewol/widget/Windows.h>
|
||||||
#include <ege/Environement.h>
|
#include <ege/Environement.h>
|
||||||
@ -27,7 +25,5 @@ namespace appl {
|
|||||||
private:
|
private:
|
||||||
void onCallbackPeriodicUpdateCamera(const ewol::event::Time& _event);
|
void onCallbackPeriodicUpdateCamera(const ewol::event::Time& _event);
|
||||||
};
|
};
|
||||||
};
|
}
|
||||||
|
|
||||||
|
|
||||||
#endif
|
|
@ -5,10 +5,7 @@
|
|||||||
*
|
*
|
||||||
* @license APACHE-2 (see license file)
|
* @license APACHE-2 (see license file)
|
||||||
*/
|
*/
|
||||||
|
#pragma once
|
||||||
|
|
||||||
#ifndef __APPL_DEBUG_H__
|
|
||||||
#define __APPL_DEBUG_H__
|
|
||||||
|
|
||||||
#include <etk/log.h>
|
#include <etk/log.h>
|
||||||
|
|
||||||
@ -49,4 +46,3 @@ namespace appl {
|
|||||||
} \
|
} \
|
||||||
} while (0)
|
} while (0)
|
||||||
|
|
||||||
#endif
|
|
||||||
|
@ -5,10 +5,5 @@
|
|||||||
*
|
*
|
||||||
* @license APACHE-2 (see license file)
|
* @license APACHE-2 (see license file)
|
||||||
*/
|
*/
|
||||||
|
#pragma once
|
||||||
#ifndef __APPL_MAIN_H__
|
|
||||||
#define __APPL_MAIN_H__
|
|
||||||
|
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
@ -5,9 +5,7 @@
|
|||||||
*
|
*
|
||||||
* @license APACHE-2 (see license file)
|
* @license APACHE-2 (see license file)
|
||||||
*/
|
*/
|
||||||
|
#pragma once
|
||||||
#ifndef __APPL_WINDOWS_H__
|
|
||||||
#define __APPL_WINDOWS_H__
|
|
||||||
|
|
||||||
#include <ewol/widget/Windows.h>
|
#include <ewol/widget/Windows.h>
|
||||||
#include <ege/Environement.h>
|
#include <ege/Environement.h>
|
||||||
@ -32,7 +30,5 @@ namespace appl {
|
|||||||
vec2 m_oldScreenPos;
|
vec2 m_oldScreenPos;
|
||||||
void onCallbackPeriodicCheckCollision(const ewol::event::Time& _event);
|
void onCallbackPeriodicCheckCollision(const ewol::event::Time& _event);
|
||||||
};
|
};
|
||||||
};
|
}
|
||||||
|
|
||||||
|
|
||||||
#endif
|
|
@ -5,10 +5,7 @@
|
|||||||
*
|
*
|
||||||
* @license APACHE-2 (see license file)
|
* @license APACHE-2 (see license file)
|
||||||
*/
|
*/
|
||||||
|
#pragma once
|
||||||
|
|
||||||
#ifndef __APPL_DEBUG_H__
|
|
||||||
#define __APPL_DEBUG_H__
|
|
||||||
|
|
||||||
#include <etk/log.h>
|
#include <etk/log.h>
|
||||||
|
|
||||||
@ -49,4 +46,3 @@ namespace appl {
|
|||||||
} \
|
} \
|
||||||
} while (0)
|
} while (0)
|
||||||
|
|
||||||
#endif
|
|
||||||
|
@ -5,10 +5,5 @@
|
|||||||
*
|
*
|
||||||
* @license APACHE-2 (see license file)
|
* @license APACHE-2 (see license file)
|
||||||
*/
|
*/
|
||||||
|
#pragma once
|
||||||
#ifndef __APPL_MAIN_H__
|
|
||||||
#define __APPL_MAIN_H__
|
|
||||||
|
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
@ -5,9 +5,7 @@
|
|||||||
*
|
*
|
||||||
* @license APACHE-2 (see license file)
|
* @license APACHE-2 (see license file)
|
||||||
*/
|
*/
|
||||||
|
#pragma once
|
||||||
#ifndef __APPL_WINDOWS_H__
|
|
||||||
#define __APPL_WINDOWS_H__
|
|
||||||
|
|
||||||
#include <ewol/widget/Windows.h>
|
#include <ewol/widget/Windows.h>
|
||||||
#include <ege/Environement.h>
|
#include <ege/Environement.h>
|
||||||
@ -31,7 +29,5 @@ namespace appl {
|
|||||||
float m_anglePsy;
|
float m_anglePsy;
|
||||||
vec2 m_oldScreenPos;
|
vec2 m_oldScreenPos;
|
||||||
};
|
};
|
||||||
};
|
}
|
||||||
|
|
||||||
|
|
||||||
#endif
|
|
@ -5,10 +5,7 @@
|
|||||||
*
|
*
|
||||||
* @license APACHE-2 (see license file)
|
* @license APACHE-2 (see license file)
|
||||||
*/
|
*/
|
||||||
|
#pragma once
|
||||||
|
|
||||||
#ifndef __APPL_DEBUG_H__
|
|
||||||
#define __APPL_DEBUG_H__
|
|
||||||
|
|
||||||
#include <etk/log.h>
|
#include <etk/log.h>
|
||||||
|
|
||||||
@ -49,4 +46,3 @@ namespace appl {
|
|||||||
} \
|
} \
|
||||||
} while (0)
|
} while (0)
|
||||||
|
|
||||||
#endif
|
|
||||||
|
@ -5,10 +5,5 @@
|
|||||||
*
|
*
|
||||||
* @license APACHE-2 (see license file)
|
* @license APACHE-2 (see license file)
|
||||||
*/
|
*/
|
||||||
|
#pragma once
|
||||||
#ifndef __APPL_MAIN_H__
|
|
||||||
#define __APPL_MAIN_H__
|
|
||||||
|
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
@ -5,9 +5,7 @@
|
|||||||
*
|
*
|
||||||
* @license APACHE-2 (see license file)
|
* @license APACHE-2 (see license file)
|
||||||
*/
|
*/
|
||||||
|
#pragma once
|
||||||
#ifndef __APPL_WINDOWS_H__
|
|
||||||
#define __APPL_WINDOWS_H__
|
|
||||||
|
|
||||||
#include <ewol/widget/Windows.h>
|
#include <ewol/widget/Windows.h>
|
||||||
#include <ege/Environement.h>
|
#include <ege/Environement.h>
|
||||||
@ -27,7 +25,5 @@ namespace appl {
|
|||||||
private:
|
private:
|
||||||
void onCallbackPeriodicUpdateCamera(const ewol::event::Time& _event);
|
void onCallbackPeriodicUpdateCamera(const ewol::event::Time& _event);
|
||||||
};
|
};
|
||||||
};
|
}
|
||||||
|
|
||||||
|
|
||||||
#endif
|
|
@ -5,10 +5,7 @@
|
|||||||
*
|
*
|
||||||
* @license APACHE-2 (see license file)
|
* @license APACHE-2 (see license file)
|
||||||
*/
|
*/
|
||||||
|
#pragma once
|
||||||
|
|
||||||
#ifndef __APPL_DEBUG_H__
|
|
||||||
#define __APPL_DEBUG_H__
|
|
||||||
|
|
||||||
#include <etk/log.h>
|
#include <etk/log.h>
|
||||||
|
|
||||||
@ -49,4 +46,3 @@ namespace appl {
|
|||||||
} \
|
} \
|
||||||
} while (0)
|
} while (0)
|
||||||
|
|
||||||
#endif
|
|
||||||
|
@ -5,10 +5,5 @@
|
|||||||
*
|
*
|
||||||
* @license APACHE-2 (see license file)
|
* @license APACHE-2 (see license file)
|
||||||
*/
|
*/
|
||||||
|
#pragma once
|
||||||
#ifndef __APPL_MAIN_H__
|
|
||||||
#define __APPL_MAIN_H__
|
|
||||||
|
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
@ -5,9 +5,7 @@
|
|||||||
*
|
*
|
||||||
* @license APACHE-2 (see license file)
|
* @license APACHE-2 (see license file)
|
||||||
*/
|
*/
|
||||||
|
#pragma once
|
||||||
#ifndef __APPL_WINDOWS_H__
|
|
||||||
#define __APPL_WINDOWS_H__
|
|
||||||
|
|
||||||
#include <ewol/widget/Windows.h>
|
#include <ewol/widget/Windows.h>
|
||||||
#include <ege/Environement.h>
|
#include <ege/Environement.h>
|
||||||
@ -34,7 +32,5 @@ namespace appl {
|
|||||||
vec2 m_oldScreenPos;
|
vec2 m_oldScreenPos;
|
||||||
std::pair<vec3,vec3> m_destination;
|
std::pair<vec3,vec3> m_destination;
|
||||||
};
|
};
|
||||||
};
|
}
|
||||||
|
|
||||||
|
|
||||||
#endif
|
|
@ -5,10 +5,7 @@
|
|||||||
*
|
*
|
||||||
* @license APACHE-2 (see license file)
|
* @license APACHE-2 (see license file)
|
||||||
*/
|
*/
|
||||||
|
#pragma once
|
||||||
|
|
||||||
#ifndef __APPL_DEBUG_H__
|
|
||||||
#define __APPL_DEBUG_H__
|
|
||||||
|
|
||||||
#include <etk/log.h>
|
#include <etk/log.h>
|
||||||
|
|
||||||
@ -49,4 +46,3 @@ namespace appl {
|
|||||||
} \
|
} \
|
||||||
} while (0)
|
} while (0)
|
||||||
|
|
||||||
#endif
|
|
||||||
|
@ -5,10 +5,5 @@
|
|||||||
*
|
*
|
||||||
* @license APACHE-2 (see license file)
|
* @license APACHE-2 (see license file)
|
||||||
*/
|
*/
|
||||||
|
#pragma once
|
||||||
#ifndef __APPL_MAIN_H__
|
|
||||||
#define __APPL_MAIN_H__
|
|
||||||
|
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user