OpenStructure
Functions
gl_helper.hh File Reference
#include <ost/geom/vec3.hh>
#include "glext_include.hh"
#include <ost/log.hh>

Go to the source code of this file.

Functions

void check_gl_error (const std::string &m="")
 
void glVertex3v (double *v)
 
void glVertex3v (const double *v)
 
void glVertex3v (float *v)
 
void glVertex3v (const float *v)
 
void glVertex3 (const geom::Vec3 &v)
 
void glMultMatrix (float *v)
 
void glMultMatrix (double *v)
 
void glNormal3v (double *v)
 
void glNormal3v (float *v)
 
void glTexCoord2v (float *v)
 
void glTexCoord2v (double *v)
 
void glGetv (GLenum pname, double *v)
 
void glGetv (GLenum pname, float *v)
 
void glLoadMatrix (float *arr)
 
void glLoadMatrix (double *arr)
 

Function Documentation

◆ check_gl_error()

void check_gl_error ( const std::string &  m = "")
inline

Definition at line 42 of file gl_helper.hh.

◆ glGetv() [1/2]

void glGetv ( GLenum  pname,
double *  v 
)
inline

Definition at line 101 of file gl_helper.hh.

◆ glGetv() [2/2]

void glGetv ( GLenum  pname,
float *  v 
)
inline

Definition at line 105 of file gl_helper.hh.

◆ glLoadMatrix() [1/2]

void glLoadMatrix ( double *  arr)
inline

Definition at line 114 of file gl_helper.hh.

◆ glLoadMatrix() [2/2]

void glLoadMatrix ( float *  arr)
inline

Definition at line 110 of file gl_helper.hh.

◆ glMultMatrix() [1/2]

void glMultMatrix ( double *  v)
inline

Definition at line 80 of file gl_helper.hh.

◆ glMultMatrix() [2/2]

void glMultMatrix ( float *  v)
inline

Definition at line 76 of file gl_helper.hh.

◆ glNormal3v() [1/2]

void glNormal3v ( double *  v)
inline

Definition at line 84 of file gl_helper.hh.

◆ glNormal3v() [2/2]

void glNormal3v ( float *  v)
inline

Definition at line 88 of file gl_helper.hh.

◆ glTexCoord2v() [1/2]

void glTexCoord2v ( double *  v)
inline

Definition at line 96 of file gl_helper.hh.

◆ glTexCoord2v() [2/2]

void glTexCoord2v ( float *  v)
inline

Definition at line 92 of file gl_helper.hh.

◆ glVertex3()

void glVertex3 ( const geom::Vec3 v)
inline

Definition at line 71 of file gl_helper.hh.

◆ glVertex3v() [1/4]

void glVertex3v ( const double *  v)
inline

Definition at line 58 of file gl_helper.hh.

◆ glVertex3v() [2/4]

void glVertex3v ( const float *  v)
inline

Definition at line 67 of file gl_helper.hh.

◆ glVertex3v() [3/4]

void glVertex3v ( double *  v)
inline

Definition at line 54 of file gl_helper.hh.

◆ glVertex3v() [4/4]

void glVertex3v ( float *  v)
inline

Definition at line 62 of file gl_helper.hh.