ACOS(3G)

πŸ“¦
version 1.0~svn33624 Β· 4 versions
, in ubuntu jammy, ubuntu noble

✨ 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 Β© 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 Β© 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