elect
10/05/2016, 3:37 PMdata class Vec2(override var x: Float = 0f, override var y: Float = 0f) : Vec2t<Float>(x, y) {
// -- Explicit basic constructors --
constructor(v: Vec2t<Number>) : this(v.x.toFloat(), v.y.toFloat())
This way I can pass any Vec3* and Vec4* to this constructor