Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2123)

Unified Diff: cg_to_glsl/convert.py

Issue 1745002: Incremental progress toward archive loading in o3d-webgl. Implemented... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/o3d/
Patch Set: Created 10 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | samples/o3d-webgl-samples/helloworld.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cg_to_glsl/convert.py
===================================================================
--- cg_to_glsl/convert.py (revision 45126)
+++ cg_to_glsl/convert.py (working copy)
@@ -100,7 +100,7 @@
r'_glPositionTemp.x + _glPositionTemp.w * dx_clipping.x, ' +
r'dx_clipping.w * ' +
r'(_glPositionTemp.y + _glPositionTemp.w * dx_clipping.y), ' +
- r'_glPositionTemp.z * 2 - _glPositionTemp.w, ' +
+ r'_glPositionTemp.z * 2.0 - _glPositionTemp.w, ' +
r'_glPositionTemp.w);', body)
return '\n'.join(attributes) + '\n\n' + body
« no previous file with comments | « no previous file | samples/o3d-webgl-samples/helloworld.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698