LVector2i

class LVector2i

Bases: LVecBase2i

This is a two-component vector offset.

Inheritance diagram

Inheritance diagram of LVector2i

LVector2i(void) = default
LVector2i(LVecBase2i const &copy)
LVector2i(int fill_value)
LVector2i(int x, int y)
LVector2i(LVector2i const&) = default

Constructs a new LVector2 from a LVecBase2

Constructs a new LVector2 with all components set to the fill value.

static TypeHandle get_class_type(void)
LVector2i const &unit_x(void)

Returns a unit X vector.

LVector2i const &unit_y(void)

Returns a unit Y vector.

LVector2i const &zero(void)

Returns a zero-length vector.