/[libvob]/libvob/include/vob/trans/LinearPrimitives.hxx
ViewVC logotype

Diff of /libvob/include/vob/trans/LinearPrimitives.hxx

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.4 by tjl, Wed Apr 16 10:37:57 2003 UTC revision 1.5 by tjl, Fri Apr 25 17:16:45 2003 UTC
# Line 204  namespace Primitives { Line 204  namespace Primitives {
204              to.z = from.z;              to.z = from.z;
205          }          }
206          void performGL() const {          void performGL() const {
             glTranslatef(ox, oy, 0);  
             glRotatef(a, 0, 0, 1);  
207              glTranslatef(-ox, -oy, 0);              glTranslatef(-ox, -oy, 0);
208                glRotatef(a, 0, 0, 1);
209                glTranslatef(ox, oy, 0);
210          }          }
211          typedef RotateCenteredXY InverseType;          typedef RotateCenteredXY InverseType;
212          void inverse(InverseType &into) const {          void inverse(InverseType &into) const {
# Line 239  namespace Primitives { Line 239  namespace Primitives {
239    
240              a = angle * 180 / M_PI;              a = angle * 180 / M_PI;
241    
242                angleWasSet();
243    
244          }          }
245          Pt getSqSize() const {          Pt getSqSize() const {
246              return Pt(2*ox, 2*oy);              return Pt(2*ox, 2*oy);

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26