Well, in c, wouldn't 0 be relative to tdmXYPlaneRoll? I've found lots of places in the code where initialization was done by just setting things to zero or worse NULL when that wasn't the appropriate type. I've tried to fix a lot of them when possible and did this by assigning what the compiler would have assumed 0 or NULL is.

David

In hwClientMessage.h:

   void
   _dxfInitDXInteractors (tdmChildGlobalP globals)
   {
   ...
     /* the Globe is always passive, and is driven by the Gnomon */
     globals->Globe = _dxfCreateRotationInteractor (W, tdmGlobeEcho, 0) ;
                                                                     ^

where the paramter takes a:

   typedef enum {tdmXYPlaneRoll, tdmZTwirl} tdmRotateModel ;

Any thoughts as to which should be here, or does it make a difference?

Randy

--
Randall Hopper (mailto:[EMAIL PROTECTED])
Lockheed Martin Operation Support
EPA Scientific Visualization Center
US EPA N127-01; RTP, NC 27711


--
.............................................................................
David L. Thompson                          The University of Montana
mailto:[EMAIL PROTECTED]                 Computer Science Department
http://www.cs.umt.edu/u/dthompsn           Missoula, MT  59812
                                           Work Phone : (406)257-8530

Reply via email to