class zpp_nape.geom.ZPP_Vec2

import zpp_nape.geom.Vec2;

Available on all platforms

Class Fields

static var zpp_pool:ZPP_Vec2

static function get(x:Float, y:Float, ?immutable:Bool = false):ZPP_Vec2

Instance Fields

var x:Float

var y:Float

function new():Void

function add(o:ZPP_Vec2):ZPP_Vec2

function addAll(x:ZPP_Vec2):Void

function alloc():Void

function at(ind:Int):ZPP_Vec2

function back():ZPP_Vec2

function begin():ZPP_Vec2

function clear():Void

function copy():ZPP_Vec2

function elem():ZPP_Vec2

function empty():Bool

function erase(pre:ZPP_Vec2):ZPP_Vec2

function free():Void

function front():ZPP_Vec2

function has(obj:ZPP_Vec2):Bool

function immutable():Void

function inlined_clear():Void

function inlined_has(obj:ZPP_Vec2):Bool

function inlined_pop():Void

function insert(cur:ZPP_Vec2, o:ZPP_Vec2):ZPP_Vec2

function invalidate():Void

function iterator_at(ind:Int):ZPP_Vec2

function pop():Void

function pop_unsafe():ZPP_Vec2

function remove(obj:ZPP_Vec2):Void

function reverse():Void

function setbegin(i:ZPP_Vec2):Void

function size():Int

function splice(pre:ZPP_Vec2, n:Int):ZPP_Vec2

function toString():String

function try_remove(obj:ZPP_Vec2):Bool

function validate():Void

function wrapper():Vec2