Vec2 is a 2D-vector for the ground plane as a reference plane.

{ x: number, y: number }

To get a Vec2 from a Vec3, use the following transformation: l_Vec2.x = l_Vec3.x l_Vec2.y = l_Vec3.z

interface l_Vec2 {
    x: number;
    y: number;
}

Properties

x y

Properties

x: number
y: number