Skip to content

Commit

Permalink
Remove unnecessary reference
Browse files Browse the repository at this point in the history
  • Loading branch information
Zylann committed Sep 14, 2024
1 parent 01f8a1e commit 37b929e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion meshers/blocky/voxel_blocky_model_mesh.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ void mul(Span<Vector3f> vectors, const Basis3f &basis) {

} // namespace

void rotate_mesh_arrays(Span<Vector3f> vertices, Span<Vector3f> normals, Span<float> &tangents, const Basis3f &basis) {
void rotate_mesh_arrays(Span<Vector3f> vertices, Span<Vector3f> normals, Span<float> tangents, const Basis3f &basis) {
mul(vertices, basis);

if (tangents.size() == 0) {
Expand Down
2 changes: 1 addition & 1 deletion meshers/blocky/voxel_blocky_model_mesh.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class VoxelBlockyModelMesh : public VoxelBlockyModel {
float _side_vertex_tolerance = 0.001f;
};

void rotate_mesh_arrays(Span<Vector3f> vertices, Span<Vector3f> normals, Span<float> &tangents, const Basis3f &basis);
void rotate_mesh_arrays(Span<Vector3f> vertices, Span<Vector3f> normals, Span<float> tangents, const Basis3f &basis);

} // namespace zylann::voxel

Expand Down

0 comments on commit 37b929e

Please sign in to comment.