raymath

Undocumented in source.

Members

Functions

MatrixToFloat
auto MatrixToFloat(T mat)
Undocumented in source. Be warned that the author may not have intended to support it.
Vector3ToFloat
auto Vector3ToFloat(T vec)
Undocumented in source. Be warned that the author may not have intended to support it.

Static functions

Clamp
float Clamp(float value, float min, float max)
Undocumented in source. Be warned that the author may not have intended to support it.
Lerp
float Lerp(float start, float end, float amount)
Undocumented in source. Be warned that the author may not have intended to support it.
MatrixAdd
Matrix MatrixAdd(Matrix left, Matrix right)
Undocumented in source. Be warned that the author may not have intended to support it.
MatrixDeterminant
float MatrixDeterminant(Matrix mat)
Undocumented in source. Be warned that the author may not have intended to support it.
MatrixFrustum
Matrix MatrixFrustum(double left, double right, double bottom, double top, double near, double far)
Undocumented in source. Be warned that the author may not have intended to support it.
MatrixIdentity
Matrix MatrixIdentity()
Undocumented in source. Be warned that the author may not have intended to support it.
MatrixInvert
Matrix MatrixInvert(Matrix mat)
Undocumented in source. Be warned that the author may not have intended to support it.
MatrixLookAt
Matrix MatrixLookAt(Vector3 eye, Vector3 target, Vector3 up)
Undocumented in source. Be warned that the author may not have intended to support it.
MatrixMultiply
Matrix MatrixMultiply(Matrix left, Matrix right)
Undocumented in source. Be warned that the author may not have intended to support it.
MatrixNormalize
Matrix MatrixNormalize(Matrix mat)
Undocumented in source. Be warned that the author may not have intended to support it.
MatrixOrtho
Matrix MatrixOrtho(double left, double right, double bottom, double top, double near, double far)
Undocumented in source. Be warned that the author may not have intended to support it.
MatrixPerspective
Matrix MatrixPerspective(double fovy, double aspect, double near, double far)
Undocumented in source. Be warned that the author may not have intended to support it.
MatrixRotate
Matrix MatrixRotate(Vector3 axis, float angle)
Undocumented in source. Be warned that the author may not have intended to support it.
MatrixRotateX
Matrix MatrixRotateX(float angle)
Undocumented in source. Be warned that the author may not have intended to support it.
MatrixRotateXYZ
Matrix MatrixRotateXYZ(Vector3 ang)
Undocumented in source. Be warned that the author may not have intended to support it.
MatrixRotateY
Matrix MatrixRotateY(float angle)
Undocumented in source. Be warned that the author may not have intended to support it.
MatrixRotateZ
Matrix MatrixRotateZ(float angle)
Undocumented in source. Be warned that the author may not have intended to support it.
MatrixRotateZYX
Matrix MatrixRotateZYX(Vector3 ang)
Undocumented in source. Be warned that the author may not have intended to support it.
MatrixScale
Matrix MatrixScale(float x, float y, float z)
Undocumented in source. Be warned that the author may not have intended to support it.
MatrixSubtract
Matrix MatrixSubtract(Matrix left, Matrix right)
Undocumented in source. Be warned that the author may not have intended to support it.
MatrixToFloatV
float16 MatrixToFloatV(Matrix mat)
Undocumented in source. Be warned that the author may not have intended to support it.
MatrixTrace
float MatrixTrace(Matrix mat)
Undocumented in source. Be warned that the author may not have intended to support it.
MatrixTranslate
Matrix MatrixTranslate(float x, float y, float z)
Undocumented in source. Be warned that the author may not have intended to support it.
MatrixTranspose
Matrix MatrixTranspose(Matrix mat)
Undocumented in source. Be warned that the author may not have intended to support it.
Normalize
float Normalize(float value, float start, float end)
Undocumented in source. Be warned that the author may not have intended to support it.
QuaternionAdd
Quaternion QuaternionAdd(Quaternion q1, Quaternion q2)
Undocumented in source. Be warned that the author may not have intended to support it.
QuaternionAddValue
Quaternion QuaternionAddValue(Quaternion q, float add)
Undocumented in source. Be warned that the author may not have intended to support it.
QuaternionDivide
Quaternion QuaternionDivide(Quaternion q1, Quaternion q2)
Undocumented in source. Be warned that the author may not have intended to support it.
QuaternionFromAxisAngle
Quaternion QuaternionFromAxisAngle(Vector3 axis, float angle)
Undocumented in source. Be warned that the author may not have intended to support it.
QuaternionFromEuler
Quaternion QuaternionFromEuler(float pitch, float yaw, float roll)
Undocumented in source. Be warned that the author may not have intended to support it.
QuaternionFromMatrix
Quaternion QuaternionFromMatrix(Matrix mat)
Undocumented in source. Be warned that the author may not have intended to support it.
QuaternionFromVector3ToVector3
Quaternion QuaternionFromVector3ToVector3(Vector3 from, Vector3 to)
Undocumented in source. Be warned that the author may not have intended to support it.
QuaternionIdentity
Quaternion QuaternionIdentity()
Undocumented in source. Be warned that the author may not have intended to support it.
QuaternionInvert
Quaternion QuaternionInvert(Quaternion q)
Undocumented in source. Be warned that the author may not have intended to support it.
QuaternionLength
float QuaternionLength(Quaternion q)
Undocumented in source. Be warned that the author may not have intended to support it.
QuaternionLerp
Quaternion QuaternionLerp(Quaternion q1, Quaternion q2, float amount)
Undocumented in source. Be warned that the author may not have intended to support it.
QuaternionMultiply
Quaternion QuaternionMultiply(Quaternion q1, Quaternion q2)
Undocumented in source. Be warned that the author may not have intended to support it.
QuaternionNlerp
Quaternion QuaternionNlerp(Quaternion q1, Quaternion q2, float amount)
Undocumented in source. Be warned that the author may not have intended to support it.
QuaternionNormalize
Quaternion QuaternionNormalize(Quaternion q)
Undocumented in source. Be warned that the author may not have intended to support it.
QuaternionScale
Quaternion QuaternionScale(Quaternion q, float mul)
Undocumented in source. Be warned that the author may not have intended to support it.
QuaternionSlerp
Quaternion QuaternionSlerp(Quaternion q1, Quaternion q2, float amount)
Undocumented in source. Be warned that the author may not have intended to support it.
QuaternionSubtract
Quaternion QuaternionSubtract(Quaternion q1, Quaternion q2)
Undocumented in source. Be warned that the author may not have intended to support it.
QuaternionSubtractValue
Quaternion QuaternionSubtractValue(Quaternion q, float sub)
Undocumented in source. Be warned that the author may not have intended to support it.
QuaternionToAxisAngle
void QuaternionToAxisAngle(Quaternion q, Vector3* outAxis, float* outAngle)
Undocumented in source. Be warned that the author may not have intended to support it.
QuaternionToEuler
Vector3 QuaternionToEuler(Quaternion q)
Undocumented in source. Be warned that the author may not have intended to support it.
QuaternionToMatrix
Matrix QuaternionToMatrix(Quaternion q)
Undocumented in source. Be warned that the author may not have intended to support it.
QuaternionTransform
Quaternion QuaternionTransform(Quaternion q, Matrix mat)
Undocumented in source. Be warned that the author may not have intended to support it.
Remap
float Remap(float value, float inputStart, float inputEnd, float outputStart, float outputEnd)
Undocumented in source. Be warned that the author may not have intended to support it.
Vector2Add
Vector2 Vector2Add(Vector2 v1, Vector2 v2)
Undocumented in source. Be warned that the author may not have intended to support it.
Vector2AddValue
Vector2 Vector2AddValue(Vector2 v, float add)
Undocumented in source. Be warned that the author may not have intended to support it.
Vector2Angle
float Vector2Angle(Vector2 v1, Vector2 v2)
Undocumented in source. Be warned that the author may not have intended to support it.
Vector2Distance
float Vector2Distance(Vector2 v1, Vector2 v2)
Undocumented in source. Be warned that the author may not have intended to support it.
Vector2Divide
Vector2 Vector2Divide(Vector2 v1, Vector2 v2)
Undocumented in source. Be warned that the author may not have intended to support it.
Vector2DotProduct
float Vector2DotProduct(Vector2 v1, Vector2 v2)
Undocumented in source. Be warned that the author may not have intended to support it.
Vector2Length
float Vector2Length(Vector2 v)
Undocumented in source. Be warned that the author may not have intended to support it.
Vector2LengthSqr
float Vector2LengthSqr(Vector2 v)
Undocumented in source. Be warned that the author may not have intended to support it.
Vector2Lerp
Vector2 Vector2Lerp(Vector2 v1, Vector2 v2, float amount)
Undocumented in source. Be warned that the author may not have intended to support it.
Vector2MoveTowards
Vector2 Vector2MoveTowards(Vector2 v, Vector2 target, float maxDistance)
Undocumented in source. Be warned that the author may not have intended to support it.
Vector2Multiply
Vector2 Vector2Multiply(Vector2 v1, Vector2 v2)
Undocumented in source. Be warned that the author may not have intended to support it.
Vector2Negate
Vector2 Vector2Negate(Vector2 v)
Undocumented in source. Be warned that the author may not have intended to support it.
Vector2Normalize
Vector2 Vector2Normalize(Vector2 v)
Undocumented in source. Be warned that the author may not have intended to support it.
Vector2One
Vector2 Vector2One()
Undocumented in source. Be warned that the author may not have intended to support it.
Vector2Reflect
Vector2 Vector2Reflect(Vector2 v, Vector2 normal)
Undocumented in source. Be warned that the author may not have intended to support it.
Vector2Rotate
Vector2 Vector2Rotate(Vector2 v, float angle)
Undocumented in source. Be warned that the author may not have intended to support it.
Vector2Scale
Vector2 Vector2Scale(Vector2 v, float scale)
Undocumented in source. Be warned that the author may not have intended to support it.
Vector2Subtract
Vector2 Vector2Subtract(Vector2 v1, Vector2 v2)
Undocumented in source. Be warned that the author may not have intended to support it.
Vector2SubtractValue
Vector2 Vector2SubtractValue(Vector2 v, float sub)
Undocumented in source. Be warned that the author may not have intended to support it.
Vector2Zero
Vector2 Vector2Zero()
Undocumented in source. Be warned that the author may not have intended to support it.
Vector3Add
Vector3 Vector3Add(Vector3 v1, Vector3 v2)
Undocumented in source. Be warned that the author may not have intended to support it.
Vector3AddValue
Vector3 Vector3AddValue(Vector3 v, float add)
Undocumented in source. Be warned that the author may not have intended to support it.
Vector3Angle
Vector2 Vector3Angle(Vector3 v1, Vector3 v2)
Undocumented in source. Be warned that the author may not have intended to support it.
Vector3Barycenter
Vector3 Vector3Barycenter(Vector3 p, Vector3 a, Vector3 b, Vector3 c)
Undocumented in source. Be warned that the author may not have intended to support it.
Vector3CrossProduct
Vector3 Vector3CrossProduct(Vector3 v1, Vector3 v2)
Undocumented in source. Be warned that the author may not have intended to support it.
Vector3Distance
float Vector3Distance(Vector3 v1, Vector3 v2)
Undocumented in source. Be warned that the author may not have intended to support it.
Vector3Divide
Vector3 Vector3Divide(Vector3 v1, Vector3 v2)
Undocumented in source. Be warned that the author may not have intended to support it.
Vector3DotProduct
float Vector3DotProduct(Vector3 v1, Vector3 v2)
Undocumented in source. Be warned that the author may not have intended to support it.
Vector3Length
float Vector3Length(Vector3 v)
Undocumented in source. Be warned that the author may not have intended to support it.
Vector3LengthSqr
float Vector3LengthSqr(Vector3 v)
Undocumented in source. Be warned that the author may not have intended to support it.
Vector3Lerp
Vector3 Vector3Lerp(Vector3 v1, Vector3 v2, float amount)
Undocumented in source. Be warned that the author may not have intended to support it.
Vector3Max
Vector3 Vector3Max(Vector3 v1, Vector3 v2)
Undocumented in source. Be warned that the author may not have intended to support it.
Vector3Min
Vector3 Vector3Min(Vector3 v1, Vector3 v2)
Undocumented in source. Be warned that the author may not have intended to support it.
Vector3Multiply
Vector3 Vector3Multiply(Vector3 v1, Vector3 v2)
Undocumented in source. Be warned that the author may not have intended to support it.
Vector3Negate
Vector3 Vector3Negate(Vector3 v)
Undocumented in source. Be warned that the author may not have intended to support it.
Vector3Normalize
Vector3 Vector3Normalize(Vector3 v)
Undocumented in source. Be warned that the author may not have intended to support it.
Vector3One
Vector3 Vector3One()
Undocumented in source. Be warned that the author may not have intended to support it.
Vector3OrthoNormalize
void Vector3OrthoNormalize(Vector3* v1, Vector3* v2)
Undocumented in source. Be warned that the author may not have intended to support it.
Vector3Perpendicular
Vector3 Vector3Perpendicular(Vector3 v)
Undocumented in source. Be warned that the author may not have intended to support it.
Vector3Reflect
Vector3 Vector3Reflect(Vector3 v, Vector3 normal)
Undocumented in source. Be warned that the author may not have intended to support it.
Vector3RotateByQuaternion
Vector3 Vector3RotateByQuaternion(Vector3 v, Quaternion q)
Undocumented in source. Be warned that the author may not have intended to support it.
Vector3Scale
Vector3 Vector3Scale(Vector3 v, float scalar)
Undocumented in source. Be warned that the author may not have intended to support it.
Vector3Subtract
Vector3 Vector3Subtract(Vector3 v1, Vector3 v2)
Undocumented in source. Be warned that the author may not have intended to support it.
Vector3SubtractValue
Vector3 Vector3SubtractValue(Vector3 v, float sub)
Undocumented in source. Be warned that the author may not have intended to support it.
Vector3ToFloatV
float3 Vector3ToFloatV(Vector3 v)
Undocumented in source. Be warned that the author may not have intended to support it.
Vector3Transform
Vector3 Vector3Transform(Vector3 v, Matrix mat)
Undocumented in source. Be warned that the author may not have intended to support it.
Vector3Unproject
Vector3 Vector3Unproject(Vector3 source, Matrix projection, Matrix view)
Undocumented in source. Be warned that the author may not have intended to support it.
Vector3Zero
Vector3 Vector3Zero()
Undocumented in source. Be warned that the author may not have intended to support it.

Structs

float16
struct float16
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
float3
struct float3
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Meta