|[02 Nov 2012]|
Trigonometry in Computer Graphics
During implementation of geometrical methods or development of shaders it's often required to make best possible optimizations to reduce number of calls of costly trigonometrical functions. Following article contains formulas that can be used during optimizations.
Radian is the unit of angular measure for 2D angles. One radian corresponds to arc of a circle with length that is equal radius of the circle.
From arbitrary triangle:
Sun and Black Cat- Igor Dykhta () © 2007-2014