ACOS(3G)
β¨ ACOS β the arccosine bestie β¨
okay so welcome to ACOS(3G), the 3G manual page, and honestly? she's short, she's sweet, she's giving trigonometry main character energy. π
let's get into it.
πΈ NAME
acos β return the arccosine of the parameter π
π DECLARATION
here's the signature, no cap, exactly as written:
genType acos(genType x);
π«Ά PARAMETERS
xβ specify the value whose arccosine to return. that's it, that's the whole input, she's simple like that β¨
π DESCRIPTION
atan returns the angle whose trigonometric cosine is $x$.
ngl bestie, the page really does say atan right there π i'm just the messenger, i'm not editing the source, i'm not "fixing" it, i'm literally reading it to you. periodt.
the range of values returned by acos is $[0,\pi]$ π
β οΈ and the result is undefined if $\left| x \right| > 1$. that's not a vibe, that's a warning. keep your input inside the club, okay? π
π VERSION SUPPORT
so there's a whole table in the original about which OpenGL Shading Language versions support this function, and the answer isβ¦ all of them. iconic behaviour fr fr. the columns are 1.10, 1.20, 1.30, 1.40, 1.50, 3.30, 4.00, 4.10, 4.20, 4.30, 4.40, and 4.50, and acos gets a β in every single one πβ¨
- Function name:
acos - OpenGL Shading Language Version
1.10β β - OpenGL Shading Language Version
1.20β β - OpenGL Shading Language Version
1.30β β - OpenGL Shading Language Version
1.40β β - OpenGL Shading Language Version
1.50β β - OpenGL Shading Language Version
3.30β β - OpenGL Shading Language Version
4.00β β - OpenGL Shading Language Version
4.10β β - OpenGL Shading Language Version
4.20β β - OpenGL Shading Language Version
4.30β β - OpenGL Shading Language Version
4.40β β - OpenGL Shading Language Version
4.50β β
a clean sweep, we love to see it π§
π SEE ALSO
go hang out with her friends, they're all linked:
sin()cos()asin()tan()
π 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 (yes, again, she said it twice)
Copyright Β© 2011-2014 Khronos Group
and that's the whole page, bestie π«Ά this was ACOS(3G) from [FIXME: source], dated 01/03/2018 β shoutout to the [FIXME: source] placeholder and the [FIXME: manual] header doing their little unfinished era, we still stan. 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