You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +00:00
Renamed plane's d to distance
This commit is contained in:
@@ -188,7 +188,7 @@ void PlaneShapeBullet::setup(const Plane &p_plane) {
|
||||
btCollisionShape *PlaneShapeBullet::create_bt_shape(const btVector3 &p_implicit_scale, real_t p_extra_edge) {
|
||||
btVector3 btPlaneNormal;
|
||||
G_TO_B(plane.normal, btPlaneNormal);
|
||||
return prepare(PlaneShapeBullet::create_shape_plane(btPlaneNormal, plane.d));
|
||||
return prepare(PlaneShapeBullet::create_shape_plane(btPlaneNormal, plane.distance));
|
||||
}
|
||||
|
||||
/* Sphere */
|
||||
|
||||
Reference in New Issue
Block a user