![]() |
Jopnal Engine
alpha 0.4
Simple Component Based 2D/3D Game Engine
|
#include <TerrainShape.hpp>
Public Member Functions | |
RayInfo () | |
Public Attributes | |
unsigned int | triangleIndex |
Triangle index. More... | |
glm::vec3 | triangle [3] |
Triangle points. More... | |
bool | hit |
Was any triangle hit? More... | |
Terrain ray cast info
Definition at line 45 of file TerrainShape.hpp.
jop::TerrainShape::RayInfo::RayInfo | ( | ) |
Constructor
bool jop::TerrainShape::RayInfo::hit |
Was any triangle hit?
Definition at line 53 of file TerrainShape.hpp.
glm::vec3 jop::TerrainShape::RayInfo::triangle[3] |
Triangle points.
Definition at line 52 of file TerrainShape.hpp.
unsigned int jop::TerrainShape::RayInfo::triangleIndex |
Triangle index.
Definition at line 51 of file TerrainShape.hpp.