Kaydet (Commit) 04a58b12 authored tarafından Julien Nabet's avatar Julien Nabet

Typo: lenghten->lengthen

Change-Id: I9b9e6afb543c42bf3b64cb3c2ed872304f33c7f0
Reviewed-on: https://gerrit.libreoffice.org/34282Reviewed-by: 's avatarJulien Nabet <serval2412@yahoo.fr>
Tested-by: 's avatarJulien Nabet <serval2412@yahoo.fr>
üst 18be4782
...@@ -40,7 +40,7 @@ void main() ...@@ -40,7 +40,7 @@ void main()
if (type == TYPE_LINE) if (type == TYPE_LINE)
{ {
// miter factor to additionally lenghten the distance of vertex (needed for miter) // miter factor to additionally lengthen the distance of vertex (needed for miter)
// if 1.0 - miter_factor has no effect // if 1.0 - miter_factor has no effect
float miter_factor = 1.0 / abs(extrusion_vectors.z); float miter_factor = 1.0 / abs(extrusion_vectors.z);
// fade factor is always -1.0 or 1.0 -> we transport that info together with length // fade factor is always -1.0 or 1.0 -> we transport that info together with length
......
...@@ -20,7 +20,7 @@ uniform mat4 mvp; ...@@ -20,7 +20,7 @@ uniform mat4 mvp;
void main() void main()
{ {
vec2 extrusion_vector = extrusion_vectors.xy; vec2 extrusion_vector = extrusion_vectors.xy;
// miter factor to additionally lenghten the distance of vertex (needed for miter) // miter factor to additionally lengthen the distance of vertex (needed for miter)
// if 1.0 - miter_factor has no effect // if 1.0 - miter_factor has no effect
float miter_factor = 1.0f / abs(extrusion_vectors.z); float miter_factor = 1.0f / abs(extrusion_vectors.z);
// fade factor is always -1.0 or 1.0 -> we transport that info together with length // fade factor is always -1.0 or 1.0 -> we transport that info together with length
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment