This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Defines | |
| #define | LSG_VERTEX_H 1 |
Typedefs | |
| typedef float | Vertex [3] |
| 3 dimensional vector | |
Functions | |
| void | vertex_assign (Vertex dst, float x, float y, float z) |
| void | vertex_copy (Vertex dst, const Vertex src) |
| void | vertex_add (Vertex dst, const Vertex src) |
| void | vertex_sub (Vertex dst, const Vertex src) |
| void | vertex_mul (Vertex dst, const Vertex src) |
| void | vertex_div (Vertex dst, const Vertex src) |
| void | vertex_min (Vertex dst, const Vertex src) |
| void | vertex_max (Vertex dst, const Vertex src) |
| void | vertex_scale (Vertex dst, float scale) |
| float | vertex_dot (const Vertex a, const Vertex b) |
| void | vertex_cross (Vertex dst, const Vertex src) |
| float | vertex_length (const Vertex src) |
| void | vertex_normalize (Vertex dst) |
|
|
3 dimensional vector A three dimensional vector |
|
||||||||||||||||||||
|
Assign all three components of a vertex.
|
|
||||||||||||
|
Copy a vertex into another.
|
|
||||||||||||
|
Add a vertex to another.
|
|
||||||||||||
|
Subtract a vertex from another.
|
|
||||||||||||
|
Multiply two vertices component wise.
|
|
||||||||||||
|
Divide two vertices component wise.
|
|
||||||||||||
|
Compute the component wise minimum of two vertices.
|
|
||||||||||||
|
Compute the component wise maximum of two vertices.
|
|
||||||||||||
|
Scale a vertex by a scalar value.
|
|
||||||||||||
|
Compute the dot product of two vertices.
|
|
||||||||||||
|
Compute the cross product of two vertices. dst = dst x src
|
|
|
Compute the euclidean length of a vertex.
|
|
|
Normalize a vertex so that its length is 1.
|