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

13 lines
195 B
Go

package math
type Vector4 struct {
X float32
Y float32
Z float32
W float32
}
func NewVector4(x float32, y float32, z float32, w float32) Vector4 {
return Vector4{X: x, Y: y, Z: z, W: w}
}