eduEngine 1.0
Course framework for DA376B
Loading...
Searching...
No Matches
Public Member Functions | List of all members
ShapeRendering::ShapeRenderer Class Reference

Public Member Functions

void init ()
 
template<typename... Args>
void push_states (Args &&... args)
 
template<typename... Args>
void pop_states ()
 
template<typename... Args>
auto get_states ()
 
template<class T >
auto get_state_integral ()
 
void push_quad (const glm::vec3 points[4], const glm::vec3 &n)
 
void push_quad_wireframe ()
 
void push_cube ()
 
void push_cube_wireframe ()
 
void push_AABB (const glm::vec3 &min, const glm::vec3 &max)
 
template<unsigned N>
void push_circle_ring ()
 
void push_line (const glm::vec3 &pos0, const glm::vec3 &pos1)
 
void push_lines_from_cyclic_source (const LineVertex *vertices, int start_index, int nbr_vertices, int max_vertices)
 
void push_lines (const std::vector< glm::vec3 > &vertices, const std::vector< unsigned > &indices)
 
void push_lines (const glm::vec3 *vertices, size_t nbr_vertices, const unsigned *indices, size_t nbr_indices)
 
void push_lines (const glm::vec3 *vertices, size_t nbr_vertices)
 
void push_grid (const glm::vec3 &pos, unsigned size, unsigned resolution)
 
void push_cone (const glm::vec3 &from, const glm::vec3 to, float r)
 
void push_cone (float h, float r, bool flip_normals=false)
 
void push_cylinder (float height, float radius)
 
void push_arrow (const glm::vec3 &from, const glm::vec3 &to, ArrowDescriptor arrow_desc)
 
void push_basis_basic (const glm::mat4 &basis, float arrlen)
 
void push_basis_basic2d (const glm::mat4 &basis, float arrlen)
 
void push_basis (const ArrowDescriptor &arrow_desc, const glm::vec3 arrow_lengths=glm_aux::vec3_111)
 
void push_point (const glm::vec3 &p, unsigned size)
 
void push_point_direct (const glm::vec3 &p, unsigned size)
 
void push_points_direct (const PointVertex *p, unsigned nbr_points, unsigned size)
 
void render (const glm::mat4 &PROJ_VIEW)
 
void post_render ()
 

The documentation for this class was generated from the following files: