Class Vec2

  • All Implemented Interfaces:

    @JvmInline() 
    public final class Vec2
    
                        

    Class that represents a 2D vector.

    (revised 1.5) Vec2's are now purely syntactical sugar which are inlined and have no runtime overhead. Their representation in internal data structures has been replaced with floats instead.

    Since:

    1.1.0