|
void | setup_summit (float *vertices, vec3_t s, vec3_t n) |
| prepare the polygon summit to render
|
|
vec3_t | get_triangle_normal (vec3_t v1, vec3_t v2, vec3_t v3) |
| compute triangle normal vector
|
|
void | setup_triangles (float *vertices, vec3_t sa, vec3_t sb, vec3_t sc) |
| setup triangle veertices
|
|
void | setup_polyhedron (float *vertices, GLfloat **xyz, int s) |
| fill the OpenGL data buffer for a polyhedron to render
|
|
void | setup_tetra (float *vertices, vec3_t a, vec3_t b, vec3_t c, vec3_t d) |
| fill the OpenGL data buffer for a tetrahedra to render
|
|
void | setup_tetrahedron (float *vertices, GLfloat **xyz) |
| fill the OpenGL data buffer for a tetrahedra to render
|
|
void | get_centroid (GLfloat **xyz, int id) |
| find the barycenter of a polyhedron
|
|
gboolean | is_inside (vec3_t p, float *mi, float *ma) |
| is this point inside the polyhedron ?
|
|
gboolean | is_in_triangle (vec3_t p, vec3_t a, vec3_t b, vec3_t c) |
| is this point inside a triangle ?
|
|
gboolean | check_it (int i, int j, int k, int l) |
| test this atom id ?
|
|
void | check_triangles (int s, GLfloat **xyz) |
| check triangle intersection
|
|
void | prepare_poly_gl (float *vertices, atom at, int c) |
| prepare the OpenGL rendering of a polyhedron
|
|
int | is_atom_cloned (int at) |
| does this atom have clone(s) ?
|
|
void | create_poly_lists () |
| prepare coordination polyhedra(s) OpenGL rendering
|
|
Functions to prepare the OpenGL rendering of coordination polyhedra.
- Author
- Sébastien Le Roux sebas.nosp@m.tien.nosp@m..lero.nosp@m.ux@i.nosp@m.pcms..nosp@m.unis.nosp@m.tra.f.nosp@m.r
Definition in file d_poly.c.