Parent Directory | Revision Log | Patch
revision 1.40 by tjl, Sun Oct 20 09:33:17 2002 UTC | revision 1.41 by tjl, Sun Oct 20 09:50:06 2002 UTC | |
---|---|---|
# | Line 228 namespace Coords { | Line 228 namespace Coords { |
228 | * coordsys. | * coordsys. |
229 | */ | */ |
230 | void tr(const ZPt &from, ZPt &to) const { | void tr(const ZPt &from, ZPt &to) const { |
231 | to.x = c * from.x + s * from.y; | to.x = c * from.x + -s * from.y; |
232 | to.y = -s * from.x + c * from.y; | to.y = s * from.x + c * from.y; |
233 | to.z = from.z; | to.z = from.z; |
234 | } | } |
235 | float tr_radius(const ZPt &from, float radius) const { | float tr_radius(const ZPt &from, float radius) const { |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |