A function defined in BBMOD_Vec3.gml
FromBarycentric(_v1, _v2, _v3, _f, _g)
Computes the vector components using a formula _v1 + _f * (_v2 - _v1) + _g * (_v3 - _v1)
.
Name | Type | Description |
---|---|---|
_v1 | Struct.BBMOD_Vec3 |
The first point of a triangle. |
_v2 | Struct.BBMOD_Vec3 |
The second point of a triangle. |
_v3 | Struct.BBMOD_Vec3 |
The third point of a triangle. |
_f | Real |
The weighting factor between _v1 and _v2 . |
_g | Real |
The weighting factor between _v1 and _v3 . |
Struct.BBMOD_Vec3
Returns self
.
Copyright © 2024, BlueBurn. Built on September 07, 2024 using GMDoc.