Changeset 305 for cpp/frams/util/3d.h


Ignore:
Timestamp:
01/24/15 03:36:31 (7 years ago)
Author:
Maciej Komosinski
Message:

Increased precision / less optimizations in some rotations and computation of angles

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpp/frams/util/3d.h

    r286 r305  
    5252        double manhattanDistanceTo(const Pt3D& p) const;
    5353        /** calculate angle between (0,0)-(dx,dy), @return 1=ok, 0=can't calculate */
    54         static int getAngle(double dx, double dy, double &angle);
     54        static double getAngle(double dx, double dy);
    5555        /** calculate 3 rotation angles translating (1,0,0) into 'X' and (0,0,1) into 'dir' */
    5656        void getAngles(const Pt3D& X, const Pt3D& dir);
Note: See TracChangeset for help on using the changeset viewer.