This commit is contained in:
bloeys
2021-11-05 04:41:57 +04:00
parent 2b0373ea1b
commit 1d03d4c3ea
4 changed files with 46 additions and 5 deletions

21
main.go
View File

@ -1,4 +1,25 @@
package main
import "github.com/bloeys/gglm/gglm"
func main() {
m1 := &gglm.Mat3{
Data: [9]float32{
1, 2, 3,
4, 5, 6,
7, 8, 9,
},
}
m2 := &gglm.Mat3{
Data: [9]float32{
1, 2, 3,
1, 2, 3,
1, 2, 3,
},
}
m1.Mul(m2)
println(m1.String())
}