Skip to content

Commit da6dd09

Browse files
committed
use p for identifers for points instead of x
Fixes #61
1 parent c53c176 commit da6dd09

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

exercises/intro-4/files/box.glsl

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
bool inBox(highp vec2 lo, highp vec2 hi, highp vec2 x) {
2-
3-
//Test if the point x is inside the box bounded by [lo, hi]
4-
1+
bool inBox(highp vec2 lo, highp vec2 hi, highp vec2 p) {
2+
3+
//Test if the point p is inside the box bounded by [lo, hi]
4+
55
return false;
66
}
77

88

99
//Do not change this line or the name of the above function
10-
#pragma glslify: export(inBox)
10+
#pragma glslify: export(inBox)

0 commit comments

Comments
 (0)