go_dreamfactory/sys/configure/bright/math/Vector3.go
2022-06-23 18:38:21 +08:00

12 lines
167 B
Go

package math
type Vector3 struct {
X float32
Y float32
Z float32
}
func NewVector3(x float32, y float32, z float32) Vector3 {
return Vector3{X: x, Y: y, Z: z}
}