You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using atan2, sin, and cos (in rotateBy) is not necessary for rotation as $\frac{\sin(\mathrm{atan2}(y, x))}{\cos(\mathrm{atan2}(y, x))} = \frac{y}{x}$.
The text was updated successfully, but these errors were encountered:
minetest/src/client/content_mapblock.cpp
Lines 665 to 675 in 2a8becd
Using$\frac{\sin(\mathrm{atan2}(y, x))}{\cos(\mathrm{atan2}(y, x))} = \frac{y}{x}$ .
atan2
,sin
, andcos
(inrotateBy
) is not necessary for rotation asThe text was updated successfully, but these errors were encountered: