[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gzz-commits] gzz/gzz/gfx/gl GLVobCoorder.java
From: |
Benja Fallenstein |
Subject: |
[Gzz-commits] gzz/gzz/gfx/gl GLVobCoorder.java |
Date: |
Mon, 09 Sep 2002 09:48:18 -0400 |
CVSROOT: /cvsroot/gzz
Module name: gzz
Changes by: Benja Fallenstein <address@hidden> 02/09/09 09:48:16
Modified files:
gzz/gfx/gl : GLVobCoorder.java
Log message:
Hack to make transformations work correctly
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gzz/gzz/gzz/gfx/gl/GLVobCoorder.java.diff?tr1=1.23&tr2=1.24&r1=text&r2=text
Patches:
Index: gzz/gzz/gfx/gl/GLVobCoorder.java
diff -c gzz/gzz/gfx/gl/GLVobCoorder.java:1.23
gzz/gzz/gfx/gl/GLVobCoorder.java:1.24
*** gzz/gzz/gfx/gl/GLVobCoorder.java:1.23 Sat Aug 24 01:51:42 2002
--- gzz/gzz/gfx/gl/GLVobCoorder.java Mon Sep 9 09:48:16 2002
***************
*** 29,35 ****
import gzz.client.gl.*;
public class GLVobCoorder extends AffineVobCoorder {
! public static final String rcsid = "$Id: GLVobCoorder.java,v 1.23 2002/08/24
05:51:42 tjl Exp $";
public static boolean dbg = false;
private static void pa(String s) { System.err.println(s); }
--- 29,35 ----
import gzz.client.gl.*;
public class GLVobCoorder extends AffineVobCoorder {
! public static final String rcsid = "$Id: GLVobCoorder.java,v 1.24 2002/09/09
13:48:16 benja Exp $";
public static boolean dbg = false;
private static void pa(String s) { System.err.println(s); }
***************
*** 61,67 ****
// interpolation is wrong.
int ind = into * 7;
/*
! float ncx = coordsys[ind+2] * cx +
coordsys[ind+3] * cy +
coordsys[ind];
float ncy = coordsys[ind+4] * cx +
--- 61,67 ----
// interpolation is wrong.
int ind = into * 7;
/*
! float ncx = coordsys[ind+2] * cx +
coordsys[ind+3] * cy +
coordsys[ind];
float ncy = coordsys[ind+4] * cx +
***************
*** 78,85 ****
*/
// Ouch. the AWT implementation just translates -->
// so will we, for now.
! float ncx = cx + coordsys[ind];
! float ncy = cy + coordsys[ind+1];
float nx_x = x_x;
float nx_y = x_y;
float ny_x = y_x;
--- 78,85 ----
*/
// Ouch. the AWT implementation just translates -->
// so will we, for now.
! float ncx = cx + coordsys[ind] - coordsys[ind+2];
! float ncy = cy + coordsys[ind+1] - coordsys[ind+5];
float nx_x = x_x;
float nx_y = x_y;
float ny_x = y_x;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gzz-commits] gzz/gzz/gfx/gl GLVobCoorder.java,
Benja Fallenstein <=