Reference Vec2
Declared in Codebot.Geometry.pas on lines 194, 195, 196, 197
Build a TVec2 from one repeated value, two components, or the first two components of a larger vector
function Vec2(X: Float): TVec2; overload; inline;
function Vec2(const X, Y: Float): TVec2; overload; inline;
function Vec2(const V: TVec3): TVec2; overload; inline;
function Vec2(const V: TVec4): TVec2; overload; inline;
See also
Float in Codebot.System.pas