PSYQO SDK
Gte Math
gte-math.hh · Geometry Transformation Engine math and register operations
Module
Geometry Transformation Engine math and register operations.
Include this module
C++ include
#include "psyqo/gte-math.hh"Types
This module does not declare public types.
Functions and methods
crossProductVec3Cross product of two vectors.FunctioncubicEvaluates a cubic Bezier at t.FunctioncubicDerivativeEvaluates the derivative of a cubic Bezier at t.FunctionfastNormalizeVec3Normalises a vector in place, without the exact square root.FunctionfromColumnsBuilds a matrix from three column vectors.FunctioninverseSquareRootSeedThe seed for an inverse square root, from the GTE's leading-bit count.FunctionmatrixVecMul3Multiplies a vector by a matrix.FunctionmatrixVecMul3xyMultiplies a vector by a matrix, keeping only x and y. CLOBBERS: the rotation matrix (RT), V0, IR1-3, MAC1-3.FunctionmatrixVecMul3zMultiplies a vector by a matrix, keeping only z. CLOBBERS: the rotation matrix (RT), V0, IR1-3, MAC1-3.FunctionmultiplyMatrix33Multiplies two matrices.FunctionnormalizeVec3Normalises a vector in place.FunctionFields, variables and values
This module does not declare public data symbols.