Thread View: comp.graphics.explorer
2 messages
2 total messages
Started by Chris Ross
Tue, 06 Oct 1992 16:51
Arguments to cxGeoScale ??
Author: Chris Ross
Date: Tue, 06 Oct 1992 16:51
Date: Tue, 06 Oct 1992 16:51
19 lines
912 bytes
912 bytes
Explorer guys:
The Module Builder's guide defines these transformation routines
as:
cxGeo cxGeoScale(float x, float y, float z)
cxGeo cxGeoRotate(float theta, float x, float y, float z)
but in <cx/Geometry.h> they're prototyped as:
void cxGeoRotate(float,float,float,float,float,float,float);
void cxGeoScale(float,float,float,float,float,float);
Which is right and what are the extra arguments?
Chris
--
Chris Ross
ross@orion.nrl.navy.mil
Naval Research Lab, Washington, DC
Re: Arguments to cxGeoScale ??
Author: Roy Hashimoto
Date: Tue, 06 Oct 1992 18:51
Date: Tue, 06 Oct 1992 18:51
30 lines
1513 bytes
1513 bytes
In article <3857@ra.nrl.navy.mil> ross@orion.nrl.navy.mil (Chris Ross) writes: >Explorer guys: > >The Module Builder's guide defines these transformation routines >as: > cxGeo cxGeoScale(float x, float y, float z) > cxGeo cxGeoRotate(float theta, float x, float y, float z) > >but in <cx/Geometry.h> they're prototyped as: > >void cxGeoRotate(float,float,float,float,float,float,float); >void cxGeoScale(float,float,float,float,float,float); > >Which is right and what are the extra arguments? The Module Builder's Guide should have been correct. Unfortunately, these routines went out with the older interface. The interface has been corrected for version 2.0. For version 1.0 users, the outdated interface is: void cxGeoRotate(float theta, float x, float y, float z, float xc, float yc, float zc); void cxGeoScale(float x, float y, float z, float xc, float yc, float zc); The extra arguments were originally supposed to indicate the center of scaling or rotation. You should pass them all in as zero. Roy Hashimoto hashimoto@sgi.com
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads