You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"../../src/nbl/ext/TextRendering/TextRendering.cpp"# TODO: this one will be a part of dedicated Nabla ext called "TextRendering" later on which uses MSDF + Freetype
// float32_t3 xx = float64_t3(0.0, -glyphBox.size.y, 0.0);
972
-
constfloat32_t aspectRatio = static_cast<float32_t>(glm::length(dirV) / glm::length(dirU)); // check if you can just do: (glyphBox.size.y * scale.y) / glyphBox.size.x * scale.x)
// float32_t3 xx = float64_t3(0.0, -glyphBox.size.y, 0.0);
68
+
constfloat32_t aspectRatio = static_cast<float32_t>(glm::length(dirV) / glm::length(dirU)); // check if you can just do: (glyphBox.size.y * scale.y) / glyphBox.size.x * scale.x)
0 commit comments