🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.graphics.explorer
Article #145

Re: Arguments to cxGeoScale ??

#145
From: Roy Hashimoto
Date: Tue, 06 Oct 1992 18:51
30 lines
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
Technical Details
Message-ID: <1asn70INNm39@fido.asd.sgi.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!pacbell.com!sgiblab!sgigate!odin!twilight!news.csd.sgi.com!fido!hashimoto
References: <3857@ra.nrl.navy.mil>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!pacbell.com!sgiblab!sgigate!odin!twilight!news.csd.sgi.com!fido!hashimoto
From: hashimoto@sgi.com (Roy Hashimoto)
Newsgroups: comp.graphics.explorer
Subject: Re: Arguments to cxGeoScale ??
Date: 6 Oct 1992 18:51:12 GMT
Organization: Silicon Graphics, Inc.
Lines: 30
Message-ID: <1asn70INNm39@fido.asd.sgi.com>
References: <3857@ra.nrl.navy.mil>
NNTP-Posting-Host: sideout.asd.sgi.com