Ver código fonte

*** empty log message ***

David Rose 25 anos atrás
pai
commit
0cd2e4bd91
1 arquivos alterados com 10 adições e 6 exclusões
  1. 10 6
      panda/src/tform/trackball.h

+ 10 - 6
panda/src/tform/trackball.h

@@ -20,12 +20,16 @@
 
 ////////////////////////////////////////////////////////////////////
 //       Class : Trackball
-// Description : Trackball acts like Performer in trackball mode.  If
-//               you connect it to a DCS, either over your entire
-//               scene graph or over some portion of it, Trackball
-//               will spin the geometry under the DCS for viewing at
-//               all angles.  The center of rotation is initially the
-//               origin.
+// Description : Trackball acts like Performer in trackball mode.  It
+//               can either spin around a piece of geometry directly,
+//               or it can spin around a camera with the inverse
+//               transform to make it appear that the whole world is
+//               spinning.
+//
+//               The Trackball object actually just places a transform
+//               in the data graph; parent a Transform2SG node under
+//               it to actually transform objects (or cameras) in the
+//               world.
 ////////////////////////////////////////////////////////////////////
 class EXPCL_PANDA Trackball : public DataNode {
 PUBLISHED: