|
solidc
Robust collection of general-purpose cross-platform C libraries and data structures designed for rapid and safe development in C
|
Matrix operations and mathematical utilities. More...
#include "vec.h"#include <float.h>#include <stdbool.h>#include <stdio.h>Go to the source code of this file.
Functions | |
| struct | ALIGN (16) Mat3 |
| 3D vector compute type (16 bytes, 16-byte aligned). | |
Matrix operations and mathematical utilities.
Definition in file matrix.h.
| union ALIGN | ( | 16 | ) |
3D vector compute type (16 bytes, 16-byte aligned).
4D vector compute type (16 bytes, 16-byte aligned).
Memory Layout:
The W component acts as padding to maintain 128-bit alignment and is kept at zero for safety when accidentally using 4D operations.
Memory Layout:
All components are active. Commonly used for:
Definition at line 1 of file matrix.h.
References simd_transpose4, Vec3::x, Vec3::y, and Vec3::z.