raymath

Undocumented in source.

Members

Functions

Clamp
float Clamp(float value, float min, float max)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
Lerp
float Lerp(float start, float end, float amount)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
MatrixAdd
Matrix MatrixAdd(Matrix left, Matrix right)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
MatrixDeterminant
float MatrixDeterminant(Matrix mat)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
MatrixFrustum
Matrix MatrixFrustum(double left, double right, double bottom, double top, double near, double far)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
MatrixIdentity
Matrix MatrixIdentity()
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
MatrixInvert
Matrix MatrixInvert(Matrix mat)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
MatrixLookAt
Matrix MatrixLookAt(Vector3 eye, Vector3 target, Vector3 up)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
MatrixMultiply
Matrix MatrixMultiply(Matrix left, Matrix right)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
MatrixNormalize
Matrix MatrixNormalize(Matrix mat)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
MatrixOrtho
Matrix MatrixOrtho(double left, double right, double bottom, double top, double near, double far)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
MatrixPerspective
Matrix MatrixPerspective(double fovy, double aspect, double near, double far)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
MatrixRotate
Matrix MatrixRotate(Vector3 axis, float angle)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
MatrixRotateX
Matrix MatrixRotateX(float angle)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
MatrixRotateXYZ
Matrix MatrixRotateXYZ(Vector3 ang)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
MatrixRotateY
Matrix MatrixRotateY(float angle)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
MatrixRotateZ
Matrix MatrixRotateZ(float angle)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
MatrixRotateZYX
Matrix MatrixRotateZYX(Vector3 ang)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
MatrixScale
Matrix MatrixScale(float x, float y, float z)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
MatrixSubtract
Matrix MatrixSubtract(Matrix left, Matrix right)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
MatrixToFloat
auto MatrixToFloat(T mat)

raymath v1.2 - Math functions to work with Vector3, Matrix and Quaternions

MatrixToFloatV
float16 MatrixToFloatV(Matrix mat)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
MatrixTrace
float MatrixTrace(Matrix mat)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
MatrixTranslate
Matrix MatrixTranslate(float x, float y, float z)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
MatrixTranspose
Matrix MatrixTranspose(Matrix mat)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
Normalize
float Normalize(float value, float start, float end)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
QuaternionAdd
Quaternion QuaternionAdd(Quaternion q1, Quaternion q2)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
QuaternionAddValue
Quaternion QuaternionAddValue(Quaternion q, float add)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
QuaternionDivide
Quaternion QuaternionDivide(Quaternion q1, Quaternion q2)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
QuaternionFromAxisAngle
Quaternion QuaternionFromAxisAngle(Vector3 axis, float angle)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
QuaternionFromEuler
Quaternion QuaternionFromEuler(float pitch, float yaw, float roll)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
QuaternionFromMatrix
Quaternion QuaternionFromMatrix(Matrix mat)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
QuaternionFromVector3ToVector3
Quaternion QuaternionFromVector3ToVector3(Vector3 from, Vector3 to)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
QuaternionIdentity
Quaternion QuaternionIdentity()
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
QuaternionInvert
Quaternion QuaternionInvert(Quaternion q)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
QuaternionLength
float QuaternionLength(Quaternion q)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
QuaternionLerp
Quaternion QuaternionLerp(Quaternion q1, Quaternion q2, float amount)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
QuaternionMultiply
Quaternion QuaternionMultiply(Quaternion q1, Quaternion q2)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
QuaternionNlerp
Quaternion QuaternionNlerp(Quaternion q1, Quaternion q2, float amount)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
QuaternionNormalize
Quaternion QuaternionNormalize(Quaternion q)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
QuaternionScale
Quaternion QuaternionScale(Quaternion q, float mul)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
QuaternionSlerp
Quaternion QuaternionSlerp(Quaternion q1, Quaternion q2, float amount)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
QuaternionSubtract
Quaternion QuaternionSubtract(Quaternion q1, Quaternion q2)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
QuaternionSubtractValue
Quaternion QuaternionSubtractValue(Quaternion q, float sub)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
QuaternionToAxisAngle
void QuaternionToAxisAngle(Quaternion q, Vector3* outAxis, float* outAngle)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
QuaternionToEuler
Vector3 QuaternionToEuler(Quaternion q)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
QuaternionToMatrix
Matrix QuaternionToMatrix(Quaternion q)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
QuaternionTransform
Quaternion QuaternionTransform(Quaternion q, Matrix mat)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
Remap
float Remap(float value, float inputStart, float inputEnd, float outputStart, float outputEnd)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
Vector2Add
Vector2 Vector2Add(Vector2 v1, Vector2 v2)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
Vector2AddValue
Vector2 Vector2AddValue(Vector2 v, float add)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
Vector2Angle
float Vector2Angle(Vector2 v1, Vector2 v2)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
Vector2Distance
float Vector2Distance(Vector2 v1, Vector2 v2)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
Vector2Divide
Vector2 Vector2Divide(Vector2 v1, Vector2 v2)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
Vector2DotProduct
float Vector2DotProduct(Vector2 v1, Vector2 v2)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
Vector2Length
float Vector2Length(Vector2 v)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
Vector2LengthSqr
float Vector2LengthSqr(Vector2 v)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
Vector2Lerp
Vector2 Vector2Lerp(Vector2 v1, Vector2 v2, float amount)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
Vector2MoveTowards
Vector2 Vector2MoveTowards(Vector2 v, Vector2 target, float maxDistance)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
Vector2Multiply
Vector2 Vector2Multiply(Vector2 v1, Vector2 v2)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
Vector2Negate
Vector2 Vector2Negate(Vector2 v)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
Vector2Normalize
Vector2 Vector2Normalize(Vector2 v)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
Vector2One
Vector2 Vector2One()
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
Vector2Reflect
Vector2 Vector2Reflect(Vector2 v, Vector2 normal)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
Vector2Rotate
Vector2 Vector2Rotate(Vector2 v, float degs)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
Vector2Scale
Vector2 Vector2Scale(Vector2 v, float scale)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
Vector2Subtract
Vector2 Vector2Subtract(Vector2 v1, Vector2 v2)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
Vector2SubtractValue
Vector2 Vector2SubtractValue(Vector2 v, float sub)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
Vector2Zero
Vector2 Vector2Zero()
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
Vector3Add
Vector3 Vector3Add(Vector3 v1, Vector3 v2)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
Vector3AddValue
Vector3 Vector3AddValue(Vector3 v, float add)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
Vector3Barycenter
Vector3 Vector3Barycenter(Vector3 p, Vector3 a, Vector3 b, Vector3 c)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
Vector3CrossProduct
Vector3 Vector3CrossProduct(Vector3 v1, Vector3 v2)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
Vector3Distance
float Vector3Distance(Vector3 v1, Vector3 v2)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
Vector3Divide
Vector3 Vector3Divide(Vector3 v1, Vector3 v2)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
Vector3DotProduct
float Vector3DotProduct(Vector3 v1, Vector3 v2)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
Vector3Length
float Vector3Length(Vector3 v)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
Vector3LengthSqr
float Vector3LengthSqr(Vector3 v)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
Vector3Lerp
Vector3 Vector3Lerp(Vector3 v1, Vector3 v2, float amount)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
Vector3Max
Vector3 Vector3Max(Vector3 v1, Vector3 v2)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
Vector3Min
Vector3 Vector3Min(Vector3 v1, Vector3 v2)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
Vector3Multiply
Vector3 Vector3Multiply(Vector3 v1, Vector3 v2)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
Vector3Negate
Vector3 Vector3Negate(Vector3 v)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
Vector3Normalize
Vector3 Vector3Normalize(Vector3 v)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
Vector3One
Vector3 Vector3One()
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
Vector3OrthoNormalize
void Vector3OrthoNormalize(Vector3* v1, Vector3* v2)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
Vector3Perpendicular
Vector3 Vector3Perpendicular(Vector3 v)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
Vector3Reflect
Vector3 Vector3Reflect(Vector3 v, Vector3 normal)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
Vector3RotateByQuaternion
Vector3 Vector3RotateByQuaternion(Vector3 v, Quaternion q)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
Vector3Scale
Vector3 Vector3Scale(Vector3 v, float scalar)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
Vector3Subtract
Vector3 Vector3Subtract(Vector3 v1, Vector3 v2)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
Vector3SubtractValue
Vector3 Vector3SubtractValue(Vector3 v, float sub)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
Vector3ToFloat
auto Vector3ToFloat(T vec)
Undocumented in source. Be warned that the author may not have intended to support it.
Vector3ToFloatV
float3 Vector3ToFloatV(Vector3 v)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
Vector3Transform
Vector3 Vector3Transform(Vector3 v, Matrix mat)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
Vector3Unproject
Vector3 Vector3Unproject(Vector3 source, Matrix projection, Matrix view)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
Vector3Zero
Vector3 Vector3Zero()
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

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