Nugget
Bare-metal libraries and examples for the original PlayStation
Loading...
Searching...
No Matches
Classes | Typedefs | Enumerations | Functions
shello Namespace Reference

Classes

class  CDChecker
 
struct  Matrix3D
 
class  Sound
 

Typedefs

typedef psyqo::FixedPoint< 24 > Fixed
 
typedef psyqo::Vector< 3, 24 > Vec3
 
typedef psyqo::Vector< 2, 24 > Vec2
 
typedef psyqo::Trig< 24 > Trig
 

Enumerations

enum class  Axis { X , Y , Z }
 

Functions

void generateRotationMatrix3D (Matrix3D *m, psyqo::Angle t, Axis a, const Trig &trig)
 
void multiplyMatrix3D (const Matrix3D *m1, const Matrix3D *m2, Matrix3D *out)
 
void scaleMatrix3D (Matrix3D *m, Fixed s)
 
void matrixVertexMul3D (const Matrix3D *m, const Vec3 *v, Vec3 *out)
 
void matrixVertexMul3Dxy (const Matrix3D *m, const Vec3 *v, Vec2 *out)
 
Fixed matrixVertexMul3Dz (const Matrix3D *m, const Vec3 *v)
 
int convexHull (Vec2 *v, int n)
 

Typedef Documentation

◆ Fixed

typedef psyqo::FixedPoint<24> shello::Fixed

◆ Trig

◆ Vec2

typedef psyqo::Vector<2, 24> shello::Vec2

◆ Vec3

typedef psyqo::Vector<3, 24> shello::Vec3

Enumeration Type Documentation

◆ Axis

enum class shello::Axis
strong
Enumerator
X 
Y 
Z 

Function Documentation

◆ convexHull()

int shello::convexHull ( Vec2 *  v,
int  n 
)

◆ generateRotationMatrix3D()

void shello::generateRotationMatrix3D ( Matrix3D *  m,
psyqo::Angle  t,
Axis  a,
const Trig &  trig 
)

◆ matrixVertexMul3D()

void shello::matrixVertexMul3D ( const Matrix3D *  m,
const Vec3 *  v,
Vec3 *  out 
)

◆ matrixVertexMul3Dxy()

void shello::matrixVertexMul3Dxy ( const Matrix3D *  m,
const Vec3 *  v,
Vec2 *  out 
)

◆ matrixVertexMul3Dz()

Fixed shello::matrixVertexMul3Dz ( const Matrix3D *  m,
const Vec3 *  v 
)

◆ multiplyMatrix3D()

void shello::multiplyMatrix3D ( const Matrix3D *  m1,
const Matrix3D *  m2,
Matrix3D *  out 
)

◆ scaleMatrix3D()

void shello::scaleMatrix3D ( Matrix3D *  m,
Fixed  s 
)