Update rcore.go
This commit is contained in:
parent
8344ddbee9
commit
f5232412d3
1 changed files with 1 additions and 1 deletions
|
@ -598,7 +598,7 @@ func Vector3ToFloat(vec Vector3) []float32 {
|
|||
|
||||
// MatrixToFloat - Converts Matrix to float32 slice
|
||||
func MatrixToFloat(mat Matrix) []float32 {
|
||||
data := make([]float32, 0)
|
||||
data := make([]float32, 16)
|
||||
|
||||
data[0] = mat.M0
|
||||
data[1] = mat.M4
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue