Nugget
Bare-metal libraries and examples for the original PlayStation
Loading...
Searching...
No Matches
Classes | Namespaces | Typedefs | Enumerations | Functions
fixedmath.hh File Reference
#include <concepts>
#include <stdint.h>
#include "psyqo/fixed-point.hh"
#include "psyqo/primitives/common.hh"
#include "psyqo/trigonometry.hh"
#include "psyqo/vector.hh"
Include dependency graph for fixedmath.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  shello::Matrix3D
 

Namespaces

namespace  shello
 

Typedefs

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

Enumerations

enum class  shello::Axis { shello::X , shello::Y , shello::Z }
 

Functions

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