mirror of
https://github.com/tiennm99/godot.git
synced 2026-08-08 12:23:48 +00:00
Expose Basis set_orthogonal_index method as a GridMap function
This commit is contained in:
@@ -5442,7 +5442,7 @@ void GLTFDocument::_convert_grid_map_to_gltf(GridMap *p_grid_map, GLTFNodeIndex
|
||||
int32_t cell = p_grid_map->get_cell_item(
|
||||
Vector3(cell_location.x, cell_location.y, cell_location.z));
|
||||
Transform3D cell_xform;
|
||||
cell_xform.basis.set_orthogonal_index(
|
||||
cell_xform.basis = p_grid_map->get_basis_with_orthogonal_index(
|
||||
p_grid_map->get_cell_item_orientation(
|
||||
Vector3(cell_location.x, cell_location.y, cell_location.z)));
|
||||
cell_xform.basis.scale(Vector3(p_grid_map->get_cell_scale(),
|
||||
|
||||
Reference in New Issue
Block a user