fix function to actually work

This commit is contained in:
Kyle Rockman 2024-05-11 19:38:23 -05:00
parent 032352a5ba
commit da79f1d8b6

View file

@ -92,7 +92,8 @@ func Scalef(x float32, y float32, z float32) {
// MultMatrix - Multiply the current matrix by another matrix
func MultMatrix(m Matrix) {
C.rlMultMatrixf(MatrixToFloat(m))
f := MatrixToFloat(m)
C.rlMultMatrixf((*C.float)(&f[0]))
}
// Frustum .