Jopnal Engine  alpha 0.4
Simple Component Based 2D/3D Game Engine
Public Member Functions | Public Attributes | List of all members
jop::TerrainShape::RayInfo Struct Reference

#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...
 

Detailed Description

Terrain ray cast info

Definition at line 45 of file TerrainShape.hpp.

Constructor & Destructor Documentation

jop::TerrainShape::RayInfo::RayInfo ( )

Constructor

Member Data Documentation

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.


The documentation for this struct was generated from the following file: