[−][src]Module gl_matrix::common
Common utilities
Statics
EPSILON | This is the difference between 1.0 and the next largest representable number. |
INFINITY | Infinity (∞). |
NEG_INFINITY | Negative infinity (-∞). |
PI | Archimedes' constant (π). |
Functions
equals | Tests whether or not the arguments have approximately the same value, within an absolute or relative tolerance of common::EPSILON (an absolute tolerance is used for values less than or equal to 1.0, and a relative tolerance is used for larger values). |
hypot | The hypot function returns the square root of the sum of squares of the array elements. |
random_f32 | A random f32 between 0-1. |
to_radian | Convert Degree to Radian. |
Type Definitions
Mat2 | 2x2 Matrix |
Mat2d | 2x3 Matrix |
Mat3 | 3x3 Matrix |
Mat4 | 4x4 Matrix |
Quat | Quaternion |
Quat2 | Dual Quaternion |
Vec2 | 2 Dimensional Vector |
Vec3 | 3 Dimensional Vector |
Vec4 | 4 Dimensional Vector |