Vector2D.hpp File Reference
Go to the source code of this file.
Classes | |
class | etk::Vector2D< T > |
Namespaces | |
etk | |
Typedefs | |
using | vec2 = etk::Vector2D< float > |
using | ivec2 = etk::Vector2D< int32_t > |
using | uivec2 = etk::Vector2D< uint32_t > |
using | bvec2 = etk::Vector2D< bool > |
Functions | |
vec2 | vec2ClipInt32 (const vec2 &_val) |
vec2 | vec2ClipInt64 (const vec2 &_val) |
vec2 | vec2rotate (const vec2 &_obj, const vec2 &_point, float _angle) |
Detailed Description
- Copyright
- 2011, Edouard DUPIN, all right reserved
- Note
- License: APACHE v2.0 (see license file)
Typedef Documentation
§ bvec2
using bvec2 = etk::Vector2D<bool> |
wrapper on etk::Vector2D<bool> to have the same naming has OpenGL shader
§ ivec2
using ivec2 = etk::Vector2D<int32_t> |
wrapper on etk::Vector2D<int32_t> to have the same naming has OpenGL shader
§ uivec2
using uivec2 = etk::Vector2D<uint32_t> |
wrapper on etk::Vector2D<uint32_t> to have the same naming has OpenGL shader
§ vec2
using vec2 = etk::Vector2D<float> |
wrapper on etk::Vector2D<float> to have the same naming has OpenGL shader
Function Documentation
§ vec2ClipInt32()
Limit at integer value the input vector: vec3(1.2, -2.9) ==> vec3(1.0, -2.0)
- Parameters
-
[in] _val input vector to limit
- Returns
- reduced range of vector
§ vec2ClipInt64()
Limit at integer value the input vector: vec3(1.2, -2.9) ==> vec3(1.0, -2.0)
- Parameters
-
[in] _val input vector to limit
- Returns
- reduced range of vector