#include <types.hpp>
|
void | addText (float x, float y, float z, const std::string &text) |
| Adds a string at the given position in object coordinates. More...
|
|
void | addText (float x, float y, float z, int ox, int oy, const std::string &text) |
| Adds a string at the given position in object coordinates with an offset in pixels. More...
|
|
template<typename Vert > |
void | addLine (const Vert &v1, const Vert &v2) |
|
template<typename Vert > |
void | addLines (const std::vector< Vert > &verts) |
|
template<typename Vert > |
void | addTriangle (const Vert &v1, const Vert &v2, const Vert &v3) |
|
template<typename Vert > |
void | addQuad (const Vert &v1, const Vert &v2, const Vert &v3, const Vert &v4) |
|
template<typename Vert > |
void | addTriangleIndexed (const std::vector< Vert > &verts, const std::vector< int > &inds) |
|
template<typename Vert > |
void | addQuadIndexed (const std::vector< Vert > &verts, const std::vector< int > &inds) |
|
void | addCone (float x, float y, float z, float vx, float vy, float vz, float cone_scale=0.075) |
|
GlBuilder | createBuilder () |
|
void | clear () |
| Clears the drawable object. More...
|
|
Definition at line 594 of file types.hpp.
void GlDrawable::addCone |
( |
float |
x, |
|
|
float |
y, |
|
|
float |
z, |
|
|
float |
vx, |
|
|
float |
vy, |
|
|
float |
vz, |
|
|
float |
cone_scale = 0.075 |
|
) |
| |
template<typename Vert >
void gl3::GlDrawable::addLine |
( |
const Vert & |
v1, |
|
|
const Vert & |
v2 |
|
) |
| |
|
inline |
template<typename Vert >
void gl3::GlDrawable::addLines |
( |
const std::vector< Vert > & |
verts | ) |
|
|
inline |
template<typename Vert >
void gl3::GlDrawable::addQuad |
( |
const Vert & |
v1, |
|
|
const Vert & |
v2, |
|
|
const Vert & |
v3, |
|
|
const Vert & |
v4 |
|
) |
| |
|
inline |
template<typename Vert >
void gl3::GlDrawable::addQuadIndexed |
( |
const std::vector< Vert > & |
verts, |
|
|
const std::vector< int > & |
inds |
|
) |
| |
|
inline |
void gl3::GlDrawable::addText |
( |
float |
x, |
|
|
float |
y, |
|
|
float |
z, |
|
|
const std::string & |
text |
|
) |
| |
|
inline |
Adds a string at the given position in object coordinates.
Definition at line 658 of file types.hpp.
void gl3::GlDrawable::addText |
( |
float |
x, |
|
|
float |
y, |
|
|
float |
z, |
|
|
int |
ox, |
|
|
int |
oy, |
|
|
const std::string & |
text |
|
) |
| |
|
inline |
Adds a string at the given position in object coordinates with an offset in pixels.
Definition at line 665 of file types.hpp.
template<typename Vert >
void gl3::GlDrawable::addTriangle |
( |
const Vert & |
v1, |
|
|
const Vert & |
v2, |
|
|
const Vert & |
v3 |
|
) |
| |
|
inline |
template<typename Vert >
void gl3::GlDrawable::addTriangleIndexed |
( |
const std::vector< Vert > & |
verts, |
|
|
const std::vector< int > & |
inds |
|
) |
| |
|
inline |
void gl3::GlDrawable::clear |
( |
| ) |
|
|
inline |
Clears the drawable object.
Definition at line 737 of file types.hpp.
The documentation for this class was generated from the following files: