anaglym/lib/std.lua.rej

12 lines
512 B
Plaintext

--- lib/std.lua Mon Nov 15 22:31:21 2010 -0500
+++ lib/std.lua Mon Nov 15 23:21:00 2010 -0500
@@ -41,7 +41,7 @@
std.createPlanePointNormal = function(x, y, z, nx, ny, nz)
-- calculate the d plane parameter based on the point coordinates
-- invoke the ag routine to create a plane based on a, b, c, d parameters
- return ag.createPlane(nx, ny, nz, nx * x, ny * y, nz * z)
+ return ag.createPlane(nx, ny, nz, nx * x + ny * y + nz * z)
end
-- Convert screen percent to pixel count along X axis