Mathematics¶
The mathematics subsystem provides the vector, matrix, quaternion, and utility operations used throughout WasmGPU.
In This Section¶
- Matrix operations and transforms
- Vector arithmetic and normalization
- Quaternion creation and conversion
- Utility helpers for interpolation and projection math
- Building blocks used by render/world/object APIs
Overview Video¶
The video below was AI-generated by Google NotebookLM based on the WasmGPU codebase and then double-checked by its developer.
Suggested Starting Points¶
- WasmGPU.math.mat4.identity
- WasmGPU.math.mat4.invert
- WasmGPU.math.vec3.normalize
- WasmGPU.math.quat.mul
Use the sidebar to navigate all math primitives and helpers.