Nugget
Bare-metal libraries and examples for the original PlayStation
Loading...
Searching...
No Matches
Functions
test-gte-math.cpp File Reference
#include "psyqo/gte-math.hh"
#include "psyqo/matrix.hh"
#include "psyqo/soft-math.hh"
#include "psyqo/vector.hh"
#include "snitch_all.hpp"
Include dependency graph for test-gte-math.cpp:

Functions

 TEST_CASE ("GteMath matrixVecMul3 agrees with SoftMath")
 
 TEST_CASE ("GteMath multiplyMatrix33 agrees with SoftMath")
 
 TEST_CASE ("GteMath multiplyMatrix33 tolerates aliasing")
 
 TEST_CASE ("GteMath crossProductVec3 agrees with SoftMath")
 
 TEST_CASE ("GteMath normalizeVec3 agrees with SoftMath")
 
 TEST_CASE ("GteMath normalizeVec3 produces unit vectors")
 
 TEST_CASE ("GteMath normalizeVec3 survives a zero vector")
 
 TEST_CASE ("GteMath inverse square root seed converges across the domain")
 
 TEST_CASE ("GteMath cubic agrees with Bezier::cubic")
 
 TEST_CASE ("GteMath cubic interpolates its endpoints")
 
 TEST_CASE ("GteMath cubicDerivative points along the control polygon")
 
 TEST_CASE ("GteMath crossProductVec3 clobbers the rotation diagonal")
 

Function Documentation

◆ TEST_CASE() [1/12]

TEST_CASE ( "GteMath crossProductVec3 agrees with SoftMath"  )

◆ TEST_CASE() [2/12]

TEST_CASE ( "GteMath crossProductVec3 clobbers the rotation diagonal"  )

◆ TEST_CASE() [3/12]

TEST_CASE ( "GteMath cubic agrees with Bezier::cubic"  )

◆ TEST_CASE() [4/12]

TEST_CASE ( "GteMath cubic interpolates its endpoints"  )

◆ TEST_CASE() [5/12]

TEST_CASE ( "GteMath cubicDerivative points along the control polygon"  )

◆ TEST_CASE() [6/12]

TEST_CASE ( "GteMath inverse square root seed converges across the domain"  )

◆ TEST_CASE() [7/12]

TEST_CASE ( "GteMath matrixVecMul3 agrees with SoftMath"  )

◆ TEST_CASE() [8/12]

TEST_CASE ( "GteMath multiplyMatrix33 agrees with SoftMath"  )

◆ TEST_CASE() [9/12]

TEST_CASE ( "GteMath multiplyMatrix33 tolerates aliasing"  )

◆ TEST_CASE() [10/12]

TEST_CASE ( "GteMath normalizeVec3 agrees with SoftMath"  )

◆ TEST_CASE() [11/12]

TEST_CASE ( "GteMath normalizeVec3 produces unit vectors"  )

◆ TEST_CASE() [12/12]

TEST_CASE ( "GteMath normalizeVec3 survives a zero vector"  )