ug4
|
Functions | |
function util | CreateConstUserMatrix2d (m00, m01, m10, m11) |
function util | CreateConstUserMatrix3d (m00, m01, m02, m10, m11, m12, m20, m21, m22) |
function util | CreateConstUserVector2d (v0, v1) |
function util | CreateConstUserVector3d (v0, v1, v2) |
function util | FactorizeInPowersOfTwo (n) |
function util | IsNaturalNumber (n) |
function util | IsPowerOfTwo (n) |
function util CreateConstUserMatrix2d | ( | m00 | , |
m01 | , | ||
m10 | , | ||
m11 | |||
) |
creates a Const User Matrix 2d
location: /home/runner/work/docs/docs/ug4/ugcore/scripts/util / math_util.lua :37-44
function util CreateConstUserMatrix3d | ( | m00 | , |
m01 | , | ||
m02 | , | ||
m10 | , | ||
m11 | , | ||
m12 | , | ||
m20 | , | ||
m21 | , | ||
m22 | |||
) |
creates a Const User Matrix 3d
location: /home/runner/work/docs/docs/ug4/ugcore/scripts/util / math_util.lua :47-59
function util CreateConstUserVector2d | ( | v0 | , |
v1 | |||
) |
creates a Const User Vector 2d
location: /home/runner/work/docs/docs/ug4/ugcore/scripts/util / math_util.lua :62-67
function util CreateConstUserVector3d | ( | v0 | , |
v1 | , | ||
v2 | |||
) |
creates a Const User Vector 3d
location: /home/runner/work/docs/docs/ug4/ugcore/scripts/util / math_util.lua :70-76
function util FactorizeInPowersOfTwo | ( | n | ) |
function to factorise number which has to be a power of 2 in two factors which differ at most by a factor of 2 and returns both (first the smaller one, then the larger one).
location: /home/runner/work/docs/docs/ug4/ugcore/scripts/util / math_util.lua :105-120
function util IsNaturalNumber | ( | n | ) |
function returns true if the number is a natural number
location: /home/runner/work/docs/docs/ug4/ugcore/scripts/util / math_util.lua :94-100
function util IsPowerOfTwo | ( | n | ) |
function returns true if the number is a power of two
location: /home/runner/work/docs/docs/ug4/ugcore/scripts/util / math_util.lua :83-91