Changeset 561 for trunk/src/opengl/util/conical_brush.glsl
- Timestamp:
- Feb 11, 2010, 11:19:06 PM (15 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
-
Property svn:mergeinfo
set to (toggle deleted branches)
/branches/vendor/nokia/qt/4.6.1 merged eligible /branches/vendor/nokia/qt/current merged eligible /branches/vendor/trolltech/qt/current 3-149
-
Property svn:mergeinfo
set to (toggle deleted branches)
-
trunk/src/opengl/util/conical_brush.glsl
r2 r561 21 21 if (abs(A.y) == abs(A.x)) 22 22 A.y += 0.002; 23 float t = (atan 2(-A.y, A.x) + angle) / (2.0 * M_PI);23 float t = (atan(-A.y, A.x) + angle) / (2.0 * M_PI); 24 24 float val = t - floor(t); 25 25 return texture1D(palette, val);
Note:
See TracChangeset
for help on using the changeset viewer.