mirror of
https://github.com/godotengine/godot.git
synced 2026-01-05 06:11:29 +03:00
@@ -300,7 +300,7 @@ enum _CellFlags {
|
||||
|
||||
static inline void _plot_face(uint8_t ***p_cell_status, int x, int y, int z, int len_x, int len_y, int len_z, const Vector3 &voxelsize, const Face3 &p_face) {
|
||||
|
||||
Rect3 aabb(Vector3(x, y, z), Vector3(len_x, len_y, len_z));
|
||||
AABB aabb(Vector3(x, y, z), Vector3(len_x, len_y, len_z));
|
||||
aabb.position = aabb.position * voxelsize;
|
||||
aabb.size = aabb.size * voxelsize;
|
||||
|
||||
@@ -575,7 +575,7 @@ PoolVector<Face3> Geometry::wrap_geometry(PoolVector<Face3> p_array, real_t *p_e
|
||||
PoolVector<Face3>::Read facesr = p_array.read();
|
||||
const Face3 *faces = facesr.ptr();
|
||||
|
||||
Rect3 global_aabb;
|
||||
AABB global_aabb;
|
||||
|
||||
for (int i = 0; i < face_count; i++) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user