SIN(3G)
β¨ NAME β¨
okay so bestie, welcome to SIN(3G) β this is the manual page for sin, and she does exactly one thing: she returns the sine of the parameter. π
π DECLARATION π
Like, the whole entire vibe, in one line:
genType sin(genType angle);
π PARAMETERS π
angleβ bestie, you gotta specify the quantity, in radians, of which you want the sine back. Radians!! Not degrees!! We don't do degrees here. π¦
π DESCRIPTION π
sin returns the trigonometric sine of angle. That's it. That's the whole post. Not me being obsessed with the most iconic little trig function in the whole GLSL family tree. πβ¨
π VERSION SUPPORT π
Here's the tea on which OpenGL Shading Language versions said "yes queen" to this function:
- Function name:
sin - OpenGL Shading Language versions:
1.10,1.20,1.30,1.40,1.50,3.30,4.00,4.10,4.20,4.30,4.40,4.50 - Support in each of those versions: β β yes, in literally all of them, no cap, every single one ate π₯
So likeβ¦1.10β,1.20β,1.30β,1.40β,1.50β,3.30β,4.00β,4.10β,4.20β,4.30β,4.40β,4.50β. Full sweep. Main character energy from day one. π
πΈ SEE ALSO πΈ
cos(), β yes bestie, her sister, go say hi π«Ά
β COPYRIGHT β
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/.
π COPYRIGHT π (she's back)
Copyright Β© 2011-2014 Khronos Group
and that's the whole page, bestie π this lil beauty came from [FIXME: source] and she's dated 01/03/2018, living her best life under the SIN(3G) header. mwah. πβ¨π
π¦ where this page comes from
- ubuntu jammy: opengl-4-man-doc 1.0~svn33624-1 Β· SGI-Free-Software-B-License-2
- ubuntu noble: opengl-4-man-doc 1.0~svn33624-1 Β· SGI-Free-Software-B-License-2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms