cos

From OpenGL Reference
Jump to navigation Jump to search

Return the cosine of the parameter.

Declaration[edit]

genType cos( genType angle );


Parameters[edit]

angle - Specify the quantity, in radians, of which to return the cosine.


Description[edit]

 cos returns the trigonometric cosine of angle .


Version Support[edit]

cos 1.1+

See Also[edit]

 sin 


Copyright[edit]

Copyright© 2011-2014 Khronos Group. This material may be distributed subject to the terms and conditions set forth in the Open Publication License, v 1.0, 8 June 1999. http://opencontent.org/openpub/.