This commit is contained in:
bloeys
2022-02-19 08:06:24 +04:00
parent fbd4ca7ce9
commit eb2be6355b

View File

@ -515,7 +515,7 @@ type Plane struct {
} }
func NewPlane(nx, ny, nz, distance float32) *Plane { func NewPlane(nx, ny, nz, distance float32) *Plane {
//If we don't keep a space between return and func definition this crashes?????
return &Plane{ return &Plane{
cP: C.NewCPxPlane(C.float(nx), C.float(ny), C.float(nz), C.float(distance)), cP: C.NewCPxPlane(C.float(nx), C.float(ny), C.float(nz), C.float(distance)),
} }