You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-12-07 17:36:07 +00:00
Type renames:
Matrix32 -> Transform2D Matrix3 -> Basis AABB -> Rect3 RawArray -> PoolByteArray IntArray -> PoolIntArray FloatArray -> PoolFloatArray Vector2Array -> PoolVector2Array Vector3Array -> PoolVector3Array ColorArray -> PoolColorArray
This commit is contained in:
@@ -146,7 +146,7 @@ int PhysicsDirectSpaceStateSW::intersect_shape(const RID& p_shape, const Transfo
|
||||
ShapeSW *shape = static_cast<PhysicsServerSW*>(PhysicsServer::get_singleton())->shape_owner.get(p_shape);
|
||||
ERR_FAIL_COND_V(!shape,0);
|
||||
|
||||
AABB aabb = p_xform.xform(shape->get_aabb());
|
||||
Rect3 aabb = p_xform.xform(shape->get_aabb());
|
||||
|
||||
int amount = space->broadphase->cull_aabb(aabb,space->intersection_query_results,SpaceSW::INTERSECTION_QUERY_MAX,space->intersection_query_subindex_results);
|
||||
|
||||
@@ -200,8 +200,8 @@ bool PhysicsDirectSpaceStateSW::cast_motion(const RID& p_shape, const Transform&
|
||||
ShapeSW *shape = static_cast<PhysicsServerSW*>(PhysicsServer::get_singleton())->shape_owner.get(p_shape);
|
||||
ERR_FAIL_COND_V(!shape,false);
|
||||
|
||||
AABB aabb = p_xform.xform(shape->get_aabb());
|
||||
aabb=aabb.merge(AABB(aabb.pos+p_motion,aabb.size)); //motion
|
||||
Rect3 aabb = p_xform.xform(shape->get_aabb());
|
||||
aabb=aabb.merge(Rect3(aabb.pos+p_motion,aabb.size)); //motion
|
||||
aabb=aabb.grow(p_margin);
|
||||
|
||||
//if (p_motion!=Vector3())
|
||||
@@ -329,7 +329,7 @@ bool PhysicsDirectSpaceStateSW::collide_shape(RID p_shape, const Transform& p_sh
|
||||
ShapeSW *shape = static_cast<PhysicsServerSW*>(PhysicsServer::get_singleton())->shape_owner.get(p_shape);
|
||||
ERR_FAIL_COND_V(!shape,0);
|
||||
|
||||
AABB aabb = p_shape_xform.xform(shape->get_aabb());
|
||||
Rect3 aabb = p_shape_xform.xform(shape->get_aabb());
|
||||
aabb=aabb.grow(p_margin);
|
||||
|
||||
int amount = space->broadphase->cull_aabb(aabb,space->intersection_query_results,SpaceSW::INTERSECTION_QUERY_MAX,space->intersection_query_subindex_results);
|
||||
@@ -412,7 +412,7 @@ bool PhysicsDirectSpaceStateSW::rest_info(RID p_shape, const Transform& p_shape_
|
||||
ShapeSW *shape = static_cast<PhysicsServerSW*>(PhysicsServer::get_singleton())->shape_owner.get(p_shape);
|
||||
ERR_FAIL_COND_V(!shape,0);
|
||||
|
||||
AABB aabb = p_shape_xform.xform(shape->get_aabb());
|
||||
Rect3 aabb = p_shape_xform.xform(shape->get_aabb());
|
||||
aabb=aabb.grow(p_margin);
|
||||
|
||||
int amount = space->broadphase->cull_aabb(aabb,space->intersection_query_results,SpaceSW::INTERSECTION_QUERY_MAX,space->intersection_query_subindex_results);
|
||||
|
||||
Reference in New Issue
Block a user