Functions
tango_gl::util Namespace Reference

Functions

glm::vec3 ApplyTransform (const glm::mat4 &mat, const glm::vec3 &vec)
void CheckGlError (const char *operation)
float Clamp (float value, float min, float max)
GLuint CreateProgram (const char *vertex_source, const char *fragment_source)
void DecomposeMatrix (const glm::mat4 &transform_mat, glm::vec3 &translation, glm::quat &rotation, glm::vec3 &scale)
float DistanceSquared (const glm::vec3 &v1, const glm::vec3 &v2)
glm::vec3 GetColumnFromMatrix (const glm::mat4 &mat, const int col)
glm::vec3 GetTranslationFromMatrix (const glm::mat4 &mat)
glm::vec3 LerpVector (const glm::vec3 &x, const glm::vec3 &y, float a)
void PrintMatrix (const glm::mat4 &matrix)
void PrintQuaternion (const glm::quat &quat)
void PrintVector (const glm::vec3 &vector)
bool SegmentAABBIntersect (const glm::vec3 &aabb_min, const glm::vec3 &aabb_max, const glm::vec3 &start, const glm::vec3 &end)

Function Documentation

glm::vec3 tango_gl::util::ApplyTransform ( const glm::mat4 mat,
const glm::vec3 vec 
)

Definition at line 216 of file util.cpp.

void tango_gl::util::CheckGlError ( const char *  operation)

Definition at line 22 of file util.cpp.

float tango_gl::util::Clamp ( float  value,
float  min,
float  max 
)

Definition at line 144 of file util.cpp.

GLuint tango_gl::util::CreateProgram ( const char *  vertex_source,
const char *  fragment_source 
)

Definition at line 54 of file util.cpp.

void tango_gl::util::DecomposeMatrix ( const glm::mat4 transform_mat,
glm::vec3 translation,
glm::quat rotation,
glm::vec3 scale 
)

Definition at line 94 of file util.cpp.

float tango_gl::util::DistanceSquared ( const glm::vec3 v1,
const glm::vec3 v2 
)

Definition at line 172 of file util.cpp.

glm::vec3 tango_gl::util::GetColumnFromMatrix ( const glm::mat4 mat,
const int  col 
)

Definition at line 136 of file util.cpp.

Definition at line 140 of file util.cpp.

glm::vec3 tango_gl::util::LerpVector ( const glm::vec3 x,
const glm::vec3 y,
float  a 
)

Definition at line 168 of file util.cpp.

void tango_gl::util::PrintMatrix ( const glm::mat4 matrix)

Definition at line 149 of file util.cpp.

Definition at line 163 of file util.cpp.

void tango_gl::util::PrintVector ( const glm::vec3 vector)

Definition at line 158 of file util.cpp.

bool tango_gl::util::SegmentAABBIntersect ( const glm::vec3 aabb_min,
const glm::vec3 aabb_max,
const glm::vec3 start,
const glm::vec3 end 
)

Definition at line 177 of file util.cpp.



rtabmap
Author(s): Mathieu Labbe
autogenerated on Sat Jul 23 2016 11:44:33