modellingcomponents:functions
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen RevisionVorhergehende ÜberarbeitungNächste Überarbeitung | Vorhergehende Überarbeitung | ||
modellingcomponents:functions [2021/09/28 15:52] – [normalize()] oliver | modellingcomponents:functions [2021/11/09 11:22] (aktuell) – [norm()] oliver | ||
---|---|---|---|
Zeile 304: | Zeile 304: | ||
==== norm() ==== | ==== norm() ==== | ||
+ | Creates the normal vector of a plane based on three given points laying in the plane | ||
+ | ^ Argument ^ Type ^ Description^ | ||
+ | ^ 1 | 3d vector | first point of a plane| | ||
+ | ^ 2 | 3d vector | seconds point of a plane | | ||
+ | ^ 3 | 3d vector | third point of a plane | | ||
==== normalize() ==== | ==== normalize() ==== | ||
Zeile 310: | Zeile 314: | ||
^ Argument ^ Type ^ Description^ | ^ Argument ^ Type ^ Description^ | ||
- | 1 | 3d vector | Normalize the vector. | | + | ^ 1 | 3d vector | Normalize the vector. | |
==== mid() ==== | ==== mid() ==== | ||
Zeile 317: | Zeile 321: | ||
Extracts the x/ | Extracts the x/ | ||
+ | |||
+ | ^ Argument ^ Type ^ Description^ | ||
+ | ^ 1 | 3d vector | extracts the x-component auf a 3d vector. | | ||
==== y() ==== | ==== y() ==== | ||
+ | |||
+ | ^ Argument ^ Type ^ Description^ | ||
+ | ^ 1 | 3d vector | extracts the y-component auf a 3d vector. | | ||
==== z() ==== | ==== z() ==== | ||
+ | |||
+ | ^ Argument ^ Type ^ Description^ | ||
+ | ^ 1 | 3d vector | extracts the z-component auf a 3d vector. | | ||
==== q() ==== | ==== q() ==== | ||
Create a quaternion from 4 double values. | Create a quaternion from 4 double values. |
modellingcomponents/functions.1632837134.txt.gz · Zuletzt geändert: 2021/09/28 15:52 von oliver