Rodrigues’ rotation formula: Difference between revisions
m
→{{header|Raku}}: twiddles
Thundergnat (talk | contribs) (Tidied task description / link slightly, add an alternate Raku entry) |
Thundergnat (talk | contribs) m (→{{header|Raku}}: twiddles) |
||
Line 607:
sub rodrigues-rotate( @point, @axis, $θ ) {
my (\cos𝜃,
my \
my (\𝑥, \𝑦, \𝑧) = |@axis;
map { @point • $_ }, [
|