Difference between revisions of "Sin"

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
imported>Kkuhlmann
 
imported>Geckbot
m (Robot: Automated text replacement (-\[\[Category:(.*?)\(GECK 1.0\)\]\] +Category:\1(GECK 1.1)))
 
(2 intermediate revisions by 2 users not shown)
Line 9: Line 9:
   sin x 1  ''will return the arcsine of x in degrees – note the optional 1 indicating arc-.''
   sin x 1  ''will return the arcsine of x in degrees – note the optional 1 indicating arc-.''


==Examples==
None, yet.


==Notes==
*Sin, cos, tan, pow, log, and abs (particularly pow and log) are extremely slow. Do not use them in script blocks that get executed every frame.
*This function is new in the GECK, and was not available in the TES4 Construction Set. However, it was available through the OBSE script extender.


 
==See Also==
=='''Examples'''==
*[[Abs]]
 
*[[Cos]]
 
*[[Log]]
 
*[[Pow]]
=='''Notes'''==
*[[Tan]]
Sin, cos, tan, pow, log, and abs (particularly pow and log) are extremely slow. Do not use them in script blocks that get executed every frame.
*Link to TES4 Construction Set Wiki: [http://cs.elderscrolls.com/constwiki/index.php/Acos Acos (OBSE function)]
 
*Link to TES4 Construction Set Wiki: [http://cs.elderscrolls.com/constwiki/index.php/Cos Cos (OBSE function)]
 
=='''See Also'''==
[[Log]], [[Cos]], [[Tan]], [[Pow]] and [[Abs]]


=='''Reference'''==
=='''Reference'''==
 
None, yet.
 


[[Category:Functions]]
[[Category:Functions]]
[[Category:Functions (GECK 1.1)]]
[[Category:Math Functions]]
[[Category:Math Functions]]
[[Category:Math Functions (GECK 1.1)]]

Latest revision as of 13:18, 15 August 2009

Description[edit | edit source]

Sin When given degrees returns the sine of a given angle.

Syntax[edit | edit source]

 sin x     will return the sine of x degrees
 sin x 1  will return the arcsine of x in degrees – note the optional 1 indicating arc-.

Examples[edit | edit source]

None, yet.

Notes[edit | edit source]

  • Sin, cos, tan, pow, log, and abs (particularly pow and log) are extremely slow. Do not use them in script blocks that get executed every frame.
  • This function is new in the GECK, and was not available in the TES4 Construction Set. However, it was available through the OBSE script extender.

See Also[edit | edit source]

Reference[edit | edit source]

None, yet.