logoalt Hacker News

xeonmctoday at 11:28 AM2 repliesview on HN

This is just https://en.wikipedia.org/wiki/Rodrigues%27_rotation_formula


Replies

djmipstoday at 11:55 AM

This is avoiding an common but unnecesary round trip. When your inputs are vectors, angles are an unnecessary intermediate representation. You can substitute the geometric meaning of dot and cross product directly into the Rodrigues matrix and get by with less operations overall. It's more elegant, uses less instructions.

skrebbeltoday at 12:07 PM

The point isn't that formula, it's that using angles for parameters or intermediary values is often wasteful.