Expose Basis set_orthogonal_index method as a GridMap function
This commit is contained in:
parent
0c5f254956
commit
da7a5653f4
9 changed files with 131 additions and 106 deletions
|
|
@ -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(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue