Difference between revisions of "Math Script"
Jump to navigation
Jump to search
/* Category:SKSE and Global Functions
imported>Cipscis m (→Global Functions: Removed extraneous apostrophe) |
imported>PurpleLunchbox (/* Category:SKSE and Global Functions) |
||
Line 2: | Line 2: | ||
[[Category:Papyrus]] | [[Category:Papyrus]] | ||
[[Category:Script Objects]] | [[Category:Script Objects]] | ||
[[Category:SKSE]] | |||
Collection of generic math-related global functions | Collection of generic math-related global functions | ||
Line 52: | Line 53: | ||
'''float Function [[tan - Math|tan]](float afValue)''' | '''float Function [[tan - Math|tan]](float afValue)''' | ||
*Calculates the tangent of its value (in degrees). | *Calculates the tangent of its value (in degrees). | ||
== SKSE Global Functions == | |||
'''int Function [[LeftShift - Math|LeftShift]](int value, int n)''' | |||
*Shifts value left by n number of bits. | |||
'''int Function [[RightShift - Math|RightShift]](int value, int n)''' | |||
*Shifts value right by n number of bits. | |||
'''int Function [[LogicalAnd - Math|LogicalAnd]](int arg1, int arg2)''' | |||
*ANDs arg1 with arg2. | |||
'''int Function [[LogicalOr - Math|LogicalOr]](int arg1, int arg2)''' | |||
*ORs arg1 with arg2. | |||
'''int Function [[LogicalXor - Math|LogicalXor]](int arg1, int arg2)''' | |||
*Exclusive ORs arg1 with arg2. | |||
'''int Function [[LogicalNot - Math|LogicalNot]](int arg1)''' | |||
*Inverts arg1's bits. | |||
== Member Functions == | == Member Functions == |