| Revision: | 1268 |
| Committed: | Fri Jun 11 17:16:21 2004 UTC (21 years, 4 months ago) by tim |
| File size: | 303 byte(s) |
| Log Message: | roll in progress |
| # | User | Rev | Content |
|---|---|---|---|
| 1 | tim | 1254 | #include "Euler3.hpp" |
| 2 | #include "Mat3x3d.hpp" | ||
| 3 | #include "Quaternion.hpp" | ||
| 4 | #include "Vector3d.hpp" | ||
| 5 | |||
| 6 | Euler3::Euler3(const Vector3d& v){ | ||
| 7 | tim | 1268 | this->phi = v.x; |
| 8 | this->theta = v.y; | ||
| 9 | tim | 1254 | this->psi = v.z; |
| 10 | } | ||
| 11 | |||
| 12 | Euler3::Euler3(Mat3x3d& m){ | ||
| 13 | *this = m.toEuler(); | ||
| 14 | } | ||
| 15 | |||
| 16 | Euler3::Euler3(Quaternion& q){ | ||
| 17 | *this = q.toEuler(); | ||
| 18 | } |
| Name | Value |
|---|---|
| svn:executable | * |