Vector4 — Aspose.3D FOSS for .NET

Example

Vector4 este un vector cu precizie simplă de 4 componente utilizat pentru puncte de control (poziții de vârf omogene), date de normale și valori de culoare. Componenta W este de obicei 1.0f pentru poziții carteziene standard.

var point = new Vector4(1.0f, 2.0f, 3.0f, 1.0f);

Example

ExampleExampleExample
XfloatComponenta X
YfloatComponenta Y
ZfloatComponenta Z
WfloatComponenta W (coordonată omogenă)

Vezi și

 Română