Skip to content

Commit

Permalink
scale the spheres
Browse files Browse the repository at this point in the history
  • Loading branch information
RenfengLiu committed Dec 6, 2024
1 parent 7517ee9 commit fc6c362
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion benchmarks/graphics_pipeline/SphereMesh.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ float4x4 OrderedGrid::GetModelMatrix(uint32_t sphereIndex, bool isXR) const
z *= -1.0;
}

return glm::translate(float3(x * mStep, y * mStep, z * mStep));
return glm::translate(float3(x * mStep, y * mStep, z * mStep)) * glm::scale(float3(5.f, 5.f, 5.f));
}

// =====================================================================
Expand Down

0 comments on commit fc6c362

Please sign in to comment.