modellingcomponents:functions
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen RevisionVorhergehende ÜberarbeitungNächste Überarbeitung | Vorhergehende ÜberarbeitungNächste ÜberarbeitungBeide Seiten der Revision | ||
modellingcomponents:functions [2020/04/17 17:02] – [midP()] oliver | modellingcomponents:functions [2020/10/23 17:31] – [t()] oliver | ||
---|---|---|---|
Zeile 292: | Zeile 292: | ||
==== normalize() ==== | ==== normalize() ==== | ||
+ | |||
+ | If the argument is a tuple with 3 elements, it is interpreted as a vector and the result is the normalized vector (length of the vector is set to 1). | ||
+ | |||
+ | ^ Argument | ||
+ | | 3d vector | real | | ||
==== mid() ==== | ==== mid() ==== | ||
Zeile 349: | Zeile 354: | ||
**Arguments: | **Arguments: | ||
- | ^ Argument ^ Type | Description ^ | + | ^ Argument ^ Type ^ Description ^ |
^ 1 | Vector 3d | Point to define a the first line. | | ^ 1 | Vector 3d | Point to define a the first line. | | ||
^ 2 | Vector 3d | Direction to define the first line. | | ^ 2 | Vector 3d | Direction to define the first line. | | ||
Zeile 422: | Zeile 427: | ||
==== t() ==== | ==== t() ==== | ||
+ | ==== mat4() ==== |
modellingcomponents/functions.txt · Zuletzt geändert: 2021/11/09 11:22 von oliver