Difference between revisions of "User:Abion47/Sandbox"

From Frictional Wiki
Jump to navigation Jump to search
 
(16 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{ScriptingStub}}
+
{{SeeMore|HPL3/SOMA/Scripting/Scripting_Api}}
 
+
{{SeeMore|HPL3/SOMA/Scripting/Scripting_Api|An Entity Page}}
Have some helpful descriptions to add to this class? Edit this page and add your insight to the Wiki!
 
 
 
==Constant Summary==
 
 
 
{{CodeDocSummaryTop}}
 
{{CodeDocSummaryItem|[[../cColor|cColor]]|[[#cColor_Blue|cColor_Blue]]|}}
 
{{CodeDocSummaryItem|[[../cColor|cColor]]|[[#cColor_Green|cColor_Green]]|}}
 
{{CodeDocSummaryItem|[[../cColor|cColor]]|[[#cColor_Red|cColor_Red]]|}}
 
{{CodeDocSummaryItem|[[../cColor|cColor]]|[[#cColor_White|cColor_White]]|}}
 
{{CodeDocSummaryItem|float|[[#cMath_Epsilon|cMath_Epsilon]]|The value of correction for small floating point numbers.}}
 
{{CodeDocSummaryItem|float|[[#cMath_Pi|cMath_Pi]]|Approximate value of pi.}}
 
{{CodeDocSummaryItem|float|[[#cMath_PiDiv2|cMath_PiDiv2]]|Approximate value of pi divided by 2.}}
 
{{CodeDocSummaryItem|float|[[#cMath_PiDiv4|cMath_PiDiv4]]|Approximate value of pi divided by 4.}}
 
{{CodeDocSummaryItem|float|[[#cMath_PiMul2|cMath_PiMul2]]|Approximate value of pi multiplied by 2.}}
 
{{CodeDocSummaryItem|float|[[#cMath_Sqrt2|cMath_Sqrt2]]|Approximate value of the square root of 2}}
 
{{CodeDocSummaryItem|[[../cMatrixf|cMatrixf]]|[[#cMatrixf_Identity|cMatrixf_Identity]]|}}
 
{{CodeDocSummaryItem|[[../cMatrixf|cMatrixf]]|[[#cMatrixf_Zero|cMatrixf_Zero]]|}}
 
{{CodeDocSummaryItem|[[../cQuaternion|cQuaternion]]|[[#cQuaternion_Identity|cQuaternion_Identity]]|}}
 
{{CodeDocSummaryItem|[[../cVector2f|cVector2f]]|[[#cVector2f_Down|cVector2f_Down]]|}}
 
{{CodeDocSummaryItem|[[../cVector2f|cVector2f]]|[[#cVector2f_Left|cVector2f_Left]]|}}
 
{{CodeDocSummaryItem|[[../cVector2f|cVector2f]]|[[#cVector2f_MinusOne|cVector2f_MinusOne]]|}}
 
{{CodeDocSummaryItem|[[../cVector2f|cVector2f]]|[[#cVector2f_One|cVector2f_One]]|}}
 
{{CodeDocSummaryItem|[[../cVector2f|cVector2f]]|[[#cVector2f_Right|cVector2f_Right]]|}}
 
{{CodeDocSummaryItem|[[../cVector2f|cVector2f]]|[[#cVector2f_Up|cVector2f_Up]]|}}
 
{{CodeDocSummaryItem|[[../cVector2f|cVector2f]]|[[#cVector2f_Zero|cVector2f_Zero]]|}}
 
{{CodeDocSummaryItem|[[../cVector2l|cVector2l]]|[[#cVector2l_MinusOne|cVector2l_MinusOne]]|}}
 
{{CodeDocSummaryItem|[[../cVector3f|cVector3f]]|[[#cVector3f_Back|cVector3f_Back]]|}}
 
{{CodeDocSummaryItem|[[../cVector3f|cVector3f]]|[[#cVector3f_Down|cVector3f_Down]]|}}
 
{{CodeDocSummaryItem|[[../cVector3f|cVector3f]]|[[#cVector3f_Forward|cVector3f_Forward]]|}}
 
{{CodeDocSummaryItem|[[../cVector3f|cVector3f]]|[[#cVector3f_Left|cVector3f_Left]]|}}
 
{{CodeDocSummaryItem|[[../cVector3f|cVector3f]]|[[#cVector3f_MinusOne|cVector3f_MinusOne]]|}}
 
{{CodeDocSummaryItem|[[../cVector3f|cVector3f]]|[[#cVector3f_One|cVector3f_One]]|}}
 
{{CodeDocSummaryItem|[[../cVector3f|cVector3f]]|[[#cVector3f_Right|cVector3f_Right]]|}}
 
{{CodeDocSummaryItem|[[../cVector3f|cVector3f]]|[[#cVector3f_Up|cVector3f_Up]]|}}
 
{{CodeDocSummaryItem|[[../cVector3f|cVector3f]]|[[#cVector3f_Zero|cVector3f_Zero]]|}}
 
{{CodeDocSummaryItem|[[../cVector4f|cVector4f]]|[[#cVector4f_MinusOne|cVector4f_MinusOne]]|}}
 
{{CodeDocSummaryItem|[[../cVector4f|cVector4f]]|[[#cVector4f_One|cVector4f_One]]|}}
 
{{CodeDocSummaryItem|[[../cVector4f|cVector4f]]|[[#cVector4f_Zero|cVector4f_Zero]]|}}
 
{{CodeDocSummaryItem|[[../tID|tID]]|[[#tID_Invalid|tID_Invalid]]|}}
 
{{CodeDocSummaryBottom}}
 
 
 
==Constant Detail==
 
 
 
{{CodeDocDetailTop|cColor_Blue}}
 
<syntaxhighlight lang="c++">const cColor cColor_Blue = cColor(0.0, 0.0, 1.0, 1.0)</syntaxhighlight>
 
{{CodeDocDetailBody|}}
 
{{CodeDocDetailBottom}}
 
 
 
{{CodeDocDetailTop|cColor_Green}}
 
<syntaxhighlight lang="c++">const cColor cColor_Green = cColor(0.0, 1.0, 0.0, 1.0)</syntaxhighlight>
 
{{CodeDocDetailBody|}}
 
{{CodeDocDetailBottom}}
 
 
 
{{CodeDocDetailTop|cColor_Red}}
 
<syntaxhighlight lang="c++">const cColor cColor_Red = cColor(1.0, 0.0, 0.0, 1.0)</syntaxhighlight>
 
{{CodeDocDetailBody|}}
 
{{CodeDocDetailBottom}}
 
 
 
{{CodeDocDetailTop|cColor_White}}
 
<syntaxhighlight lang="c++">const cColor cColor_White = cColor(1.0, 1.0, 1.0, 1.0)</syntaxhighlight>
 
{{CodeDocDetailBody|}}
 
{{CodeDocDetailBottom}}
 
 
 
{{CodeDocDetailTop|cMath_Epsilon}}
 
<syntaxhighlight lang="c++">const float cMath_Epsilon = 0.0001</syntaxhighlight>
 
{{CodeDocDetailBody|<nowiki>The value of correction for small floating point numbers.</nowiki>
 
 
 
<nowiki>When two floats are subtracted, floating point errors can make the result not exact. (i.e. 3.0 - 2.0 == 1.0 may not strictly be true.) As such, if the difference between two floats is less than the value of cMath_Epsilon, those two floats can be considered equal.</nowiki>}}
 
{{CodeDocDetailBottom}}
 
 
 
{{CodeDocDetailTop|cMath_Pi}}
 
<syntaxhighlight lang="c++">const float cMath_Pi = 3.141593</syntaxhighlight>
 
{{CodeDocDetailBody|Approximate value of pi.}}
 
{{CodeDocDetailBottom}}
 
 
 
{{CodeDocDetailTop|cMath_PiDiv2}}
 
<syntaxhighlight lang="c++">const float cMath_PiDiv2</syntaxhighlight>
 
{{CodeDocDetailBody|Approximate value of pi divided by 2.}}
 
{{CodeDocDetailBottom}}
 
 
 
{{CodeDocDetailTop|cMath_PiDiv4}}
 
<syntaxhighlight lang="c++">const float cMath_PiDiv4</syntaxhighlight>
 
{{CodeDocDetailBody|Approximate value of pi divided by 4.}}
 
{{CodeDocDetailBottom}}
 
 
 
{{CodeDocDetailTop|cMath_PiMul2}}
 
<syntaxhighlight lang="c++">const float cMath_PiMul2</syntaxhighlight>
 
{{CodeDocDetailBody|Approximate value of pi multiplied by 2.}}
 
{{CodeDocDetailBottom}}
 
 
 
{{CodeDocDetailTop|cMath_Sqrt2}}
 
<syntaxhighlight lang="c++">const float cMath_Sqrt2</syntaxhighlight>
 
{{CodeDocDetailBody|Approximate value of the square root of 2.}}
 
{{CodeDocDetailBottom}}
 
 
 
{{CodeDocDetailTop|cMatrixf_Identity}}
 
<syntaxhighlight lang="c++">const cMatrixf cMatrixf_Identity</syntaxhighlight>
 
{{CodeDocDetailBody|}}
 
{{CodeDocDetailBottom}}
 
 
 
{{CodeDocDetailTop|cMatrixf_Zero}}
 
<syntaxhighlight lang="c++">const cMatrixf cMatrixf_Zero</syntaxhighlight>
 
{{CodeDocDetailBody|}}
 
{{CodeDocDetailBottom}}
 
 
 
{{CodeDocDetailTop|cQuaternion_Identity}}
 
<syntaxhighlight lang="c++">const cQuaternion cQuaternion_Identity</syntaxhighlight>
 
{{CodeDocDetailBody|}}
 
{{CodeDocDetailBottom}}
 
 
 
{{CodeDocDetailTop|cVector2f_Down}}
 
<syntaxhighlight lang="c++">const cVector2f cVector2f_Down</syntaxhighlight>
 
{{CodeDocDetailBody|}}
 
{{CodeDocDetailBottom}}
 
 
 
{{CodeDocDetailTop|cVector2f_Left}}
 
<syntaxhighlight lang="c++">const cVector2f cVector2f_Left</syntaxhighlight>
 
{{CodeDocDetailBody|}}
 
{{CodeDocDetailBottom}}
 
 
 
{{CodeDocDetailTop|cVector2f_MinusOne}}
 
<syntaxhighlight lang="c++">const cVector2f cVector2f_MinusOne</syntaxhighlight>
 
{{CodeDocDetailBody|}}
 
{{CodeDocDetailBottom}}
 
 
 
{{CodeDocDetailTop|cVector2f_One}}
 
<syntaxhighlight lang="c++">const cVector2f cVector2f_One</syntaxhighlight>
 
{{CodeDocDetailBody|}}
 
{{CodeDocDetailBottom}}
 
 
 
{{CodeDocDetailTop|cVector2f_Right}}
 
<syntaxhighlight lang="c++">const cVector2f cVector2f_Right</syntaxhighlight>
 
{{CodeDocDetailBody|}}
 
{{CodeDocDetailBottom}}
 
 
 
{{CodeDocDetailTop|cVector2f_Up}}
 
<syntaxhighlight lang="c++">const cVector2f cVector2f_Up</syntaxhighlight>
 
{{CodeDocDetailBody|}}
 
{{CodeDocDetailBottom}}
 
 
 
{{CodeDocDetailTop|cVector2f_Zero}}
 
<syntaxhighlight lang="c++">const cVector2f cVector2f_Zero</syntaxhighlight>
 
{{CodeDocDetailBody|}}
 
{{CodeDocDetailBottom}}
 
 
 
{{CodeDocDetailTop|cVector2l_MinusOne}}
 
<syntaxhighlight lang="c++">const cVector2l cVector2l_MinusOne</syntaxhighlight>
 
{{CodeDocDetailBody|}}
 
{{CodeDocDetailBottom}}
 
 
 
{{CodeDocDetailTop|cVector3f_Back}}
 
<syntaxhighlight lang="c++">const cVector3f cVector3f_Back</syntaxhighlight>
 
{{CodeDocDetailBody|}}
 
{{CodeDocDetailBottom}}
 
 
 
{{CodeDocDetailTop|cVector3f_Down}}
 
<syntaxhighlight lang="c++">const cVector3f cVector3f_Down</syntaxhighlight>
 
{{CodeDocDetailBody|}}
 
{{CodeDocDetailBottom}}
 
 
 
{{CodeDocDetailTop|cVector3f_Forward}}
 
<syntaxhighlight lang="c++">const cVector3f cVector3f_Forward</syntaxhighlight>
 
{{CodeDocDetailBody|}}
 
{{CodeDocDetailBottom}}
 
 
 
{{CodeDocDetailTop|cVector3f_Left}}
 
<syntaxhighlight lang="c++">const cVector3f cVector3f_Left</syntaxhighlight>
 
{{CodeDocDetailBody|}}
 
{{CodeDocDetailBottom}}
 
 
 
{{CodeDocDetailTop|cVector3f_MinusOne}}
 
<syntaxhighlight lang="c++">const cVector3f cVector3f_MinusOne</syntaxhighlight>
 
{{CodeDocDetailBody|}}
 
{{CodeDocDetailBottom}}
 
 
 
{{CodeDocDetailTop|cVector3f_One}}
 
<syntaxhighlight lang="c++">const cVector3f cVector3f_One</syntaxhighlight>
 
{{CodeDocDetailBody|}}
 
{{CodeDocDetailBottom}}
 
 
 
{{CodeDocDetailTop|cVector3f_Right}}
 
<syntaxhighlight lang="c++">const cVector3f cVector3f_Right</syntaxhighlight>
 
{{CodeDocDetailBody|}}
 
{{CodeDocDetailBottom}}
 
 
 
{{CodeDocDetailTop|cVector3f_Up}}
 
<syntaxhighlight lang="c++">const cVector3f cVector3f_Up</syntaxhighlight>
 
{{CodeDocDetailBody|}}
 
{{CodeDocDetailBottom}}
 
 
 
{{CodeDocDetailTop|cVector3f_Zero}}
 
<syntaxhighlight lang="c++">const cVector3f cVector3f_Zero</syntaxhighlight>
 
{{CodeDocDetailBody|}}
 
{{CodeDocDetailBottom}}
 
 
 
{{CodeDocDetailTop|cVector4f_MinusOne}}
 
<syntaxhighlight lang="c++">const cVector4f cVector4f_MinusOne</syntaxhighlight>
 
{{CodeDocDetailBody|}}
 
{{CodeDocDetailBottom}}
 
 
 
{{CodeDocDetailTop|cVector4f_One}}
 
<syntaxhighlight lang="c++">const cVector4f cVector4f_One</syntaxhighlight>
 
{{CodeDocDetailBody|}}
 
{{CodeDocDetailBottom}}
 
 
 
{{CodeDocDetailTop|cVector4f_Zero}}
 
<syntaxhighlight lang="c++">const cVector4f cVector4f_Zero</syntaxhighlight>
 
{{CodeDocDetailBody|}}
 
{{CodeDocDetailBottom}}
 
 
 
{{CodeDocDetailTop|tID_Invalid}}
 
<syntaxhighlight lang="c++">const tID tID_Invalid</syntaxhighlight>
 
{{CodeDocDetailBody|}}
 
{{CodeDocDetailBottom}}
 
 
 
 
 
{{HPL3SOMAScriptingCategories}}
 
__FORCETOC__
 

Latest revision as of 22:40, 24 August 2020