mirror of
https://github.com/bloeys/physx-go.git
synced 2025-12-29 07:58:20 +00:00
????
This commit is contained in:
@ -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)),
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user