mirror of
https://github.com/Redot-Engine/redot-engine.git
synced 2025-12-06 23:31:53 -05: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:
@@ -48,7 +48,7 @@ int TriangleMesh::_create_bvh(BVH*p_bvh,BVH** p_bb,int p_from,int p_size,int p_d
|
||||
}
|
||||
|
||||
|
||||
AABB aabb;
|
||||
Rect3 aabb;
|
||||
aabb=p_bb[p_from]->aabb;
|
||||
for(int i=1;i<p_size;i++) {
|
||||
|
||||
@@ -176,7 +176,7 @@ void TriangleMesh::create(const PoolVector<Vector3>& p_faces) {
|
||||
}
|
||||
|
||||
|
||||
Vector3 TriangleMesh::get_area_normal(const AABB& p_aabb) const {
|
||||
Vector3 TriangleMesh::get_area_normal(const Rect3& p_aabb) const {
|
||||
|
||||
uint32_t* stack = (uint32_t*)alloca(sizeof(int)*max_depth);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user