Update rcore.go

This commit is contained in:
JupiterRider 2023-01-28 14:37:09 +01:00 committed by GitHub
parent 8344ddbee9
commit f5232412d3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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