![]() |
Mali OpenGL ES SDK v2.4.4
Mali Developer Center
Use of the code snippets present within these pages are subject to these EULA terms
|
A 3D floating point vector. More...
#include <VectorTypes.h>
Public Member Functions | |
| void | normalize (void) |
| Normalize 3D floating point vector. | |
Static Public Member Functions | |
| static Vec3f | cross (const Vec3f &vector1, const Vec3f &vector2) |
| Calculate cross product between two 3D floating point vectors. | |
| static float | dot (Vec3f &vector1, Vec3f &vector2) |
| Calculate dot product between two 3D floating point vectors. | |
Public Attributes | |
| float | x |
| float | y |
| float | z |
A 3D floating point vector.
Class containing three floating point numbers, useful for representing 3D coordinates.
Calculate cross product between two 3D floating point vectors.
| [in] | vector1 | First floating point vector that will be used to compute cross product. |
| [in] | vector2 | Second floating point vector that will be used to compute cross product. |
Calculate dot product between two 3D floating point vectors.
| [in] | vector1 | First floating point vector that will be used to compute product. |
| [in] | vector2 | Second floating point vector that will be used to compute product. |
|
inline |
Normalize 3D floating point vector.
| float MaliSDK::Vec3f::x |
| float MaliSDK::Vec3f::y |
| float MaliSDK::Vec3f::z |