Skip to content
Snippets Groups Projects
Commit 1451aed4 authored by Julius Nehring-Wirxel's avatar Julius Nehring-Wirxel
Browse files

Fix typo

parent f3ce6a89
No related branches found
No related tags found
1 merge request!31Normalize now returns scale and center
...@@ -15,7 +15,7 @@ struct normalize_result ...@@ -15,7 +15,7 @@ struct normalize_result
}; };
/// Applies a translation and a uniform rescaling such that the mesh is centerd at (0,0,0) and within the [-1 .. 1] cube /// Applies a translation and a uniform rescaling such that the mesh is centerd at (0,0,0) and within the [-1 .. 1] cube
/// Returns scale and center so that applying scale * p + center on a normalized point p yields in the original point /// Returns scale and center so that applying scale * p + center on a normalized point p yields the original point
template <class Pos3> template <class Pos3>
auto normalize(vertex_attribute<Pos3>& pos) auto normalize(vertex_attribute<Pos3>& pos)
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment