#include <etk/types.hpp>
#include <cmath>
Go to the source code of this file.
- Author
- Edouard DUPIN
- Copyright
- 2011, Edouard DUPIN, all right reserved
- Note
- License: APACHE v2.0 (see license file)
§ btVector3
compatibility with bullet lib
§ bvec3
wrapper on etk::Vector3D<bool> to have the same naming has OpenGL shader
§ ivec3
wrapper on etk::Vector3D<int32_t> to have the same naming has OpenGL shader
§ ovec3
wrapper on etk::Vector3D<float> to be complient all time with openGL internal mode (instead of vec3)
§ uivec3
wrapper on etk::Vector3D<uint32_t> to have the same naming has OpenGL shader
§ vec3
wrapper on etk::Vector3D<float> to have the same naming has OpenGL shader
§ vec3ClipInt32()
Limit at integer value the input vector: vec3(1.2, 5.6, -2.9) ==> vec3(1.0, 5.0, -2.0)
- Parameters
-
_val | input vector to limit |
- Returns
- reduced range of vector
§ vec3ClipInt64()
Limit at integer value the input vector: vec3(1.2, 5.6, -2.9) ==> vec3(1.0, 5.0, -2.0)
- Parameters
-
_val | input vector to limit |
- Returns
- reduced range of vector