-
-
Save jimblandy/c38d1bd6b3291f016dfa84659a73d1d4 to your computer and use it in GitHub Desktop.
SICM 2nd ed. 1.2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /// https://en.wikipedia.org/wiki/Euler_angles | |
| struct EulerAngle3<R> { α: R, β: R, γ: R } | |
| struct Point<R> { x: R, y: R, z: R } | |
| struct Pin<R> { | |
| /// The location of the pin's center of gravity. | |
| center: Point<R>, | |
| /// The angle with the positive Z axis of some distinguished point | |
| /// on the pin that is off the pin's axis of symmetry. | |
| orientation: EulerAngle3<R> | |
| } | |
| type System<R> = [Pin<R>; 6]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment