Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ACGL
acgl
Commits
28aafbe1
Commit
28aafbe1
authored
Sep 05, 2013
by
Janis Born
Browse files
remove spurious escape sequence from inline shader code in SimpleRiftController
parent
27c2d9a9
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/ACGL/HardwareSupport/SimpleRiftController.cc
View file @
28aafbe1
...
...
@@ -479,7 +479,7 @@ const char *FS_SOURCE_TWO_TEXTURE = "#version 150 core\n\
}
\n
\
\n
\
// vector from the lens center to the current point:
\n
\
vec2 theta = (position - LensCenter) * ScaleIn;
\n
\
// Scales to [-1, 1]
\n
\
vec2 theta = (position - LensCenter) * ScaleIn; // Scales to [-1, 1]
\n
\
\n
\
// scaled distance from the lens center:
\n
\
float rSq = theta.x * theta.x + theta.y * theta.y;
\n
\
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment