[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gzz-commits] gzz/gzz/gfx/gl GLVobCoorder.java
From: |
Tuomas J. Lukka |
Subject: |
[Gzz-commits] gzz/gzz/gfx/gl GLVobCoorder.java |
Date: |
Fri, 06 Dec 2002 06:44:09 -0500 |
CVSROOT: /cvsroot/gzz
Module name: gzz
Changes by: Tuomas J. Lukka <address@hidden> 02/12/06 06:44:06
Modified files:
gzz/gfx/gl : GLVobCoorder.java
Log message:
Document nadir for mudyc
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gzz/gzz/gzz/gfx/gl/GLVobCoorder.java.diff?tr1=1.61&tr2=1.62&r1=text&r2=text
Patches:
Index: gzz/gzz/gfx/gl/GLVobCoorder.java
diff -u gzz/gzz/gfx/gl/GLVobCoorder.java:1.61
gzz/gzz/gfx/gl/GLVobCoorder.java:1.62
--- gzz/gzz/gfx/gl/GLVobCoorder.java:1.61 Thu Dec 5 05:57:34 2002
+++ gzz/gzz/gfx/gl/GLVobCoorder.java Fri Dec 6 06:44:05 2002
@@ -31,7 +31,7 @@
import gzz.client.gl.*;
public class GLVobCoorder extends AffineVobCoorder {
-public static final String rcsid = "$Id: GLVobCoorder.java,v 1.61 2002/12/05
10:57:34 tjl Exp $";
+public static final String rcsid = "$Id: GLVobCoorder.java,v 1.62 2002/12/06
11:44:05 tjl Exp $";
public static boolean dbg = false;
private static void pa(String s) { System.err.println(s); }
@@ -237,6 +237,19 @@
return inds[cs + 2];
}
+ /** Make a nadir rotation of into towards nadir.
+ * That is, at each moment of time, nadirOrigin(a, b)
+ * is equivalent to rotate(a, X) for some angle.
+ * The angle is determined so that the
+ * positive y direction from (0,0) of the rotated
+ * coordinate system points towards the origin of the
+ * nadir coordinate system.
+ * @param into The coordinate system for which a rotated
+ * child is to be constructed.
+ * @param nadir The coordinate system towards whose origin
+ * the positive y coordinate axis of the rotated CS
+ * should point.
+ */
public int nadirOrigin(int into, int nadir) {
int paramInd = nfloats;
nfloats += 0;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gzz-commits] gzz/gzz/gfx/gl GLVobCoorder.java,
Tuomas J. Lukka <=