Merge pull request #384 from rocktavious/add-mul-matrix
Expose MultMatrix
This commit is contained in:
commit
b1a49c28b6
1 changed files with 6 additions and 0 deletions
|
@ -90,6 +90,12 @@ func Scalef(x float32, y float32, z float32) {
|
|||
C.rlScalef(cx, cy, cz)
|
||||
}
|
||||
|
||||
// MultMatrix - Multiply the current matrix by another matrix
|
||||
func MultMatrix(m Matrix) {
|
||||
f := MatrixToFloat(m)
|
||||
C.rlMultMatrixf((*C.float)(&f[0]))
|
||||
}
|
||||
|
||||
// Frustum .
|
||||
func Frustum(left float64, right float64, bottom float64, top float64, znear float64, zfar float64) {
|
||||
cleft := C.double(left)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue