2018-05-22 19:43:54 -04:00
|
|
|
import vec
|
2015-06-28 21:10:06 -04:00
|
|
|
|
2018-05-22 19:43:54 -04:00
|
|
|
fun vec<T>(first:T, second:T):vec::vec<T> {
|
|
|
|
|
var out.construct():vec::vec<T>
|
2015-06-28 21:10:06 -04:00
|
|
|
out.add(first)
|
|
|
|
|
out.add(second)
|
|
|
|
|
return out
|
|
|
|
|
}
|
|
|
|
|
|
2018-05-22 19:43:54 -04:00
|
|
|
fun vec<T>(first:T, second:T, third:T):vec::vec<T> {
|
|
|
|
|
var out.construct():vec::vec<T>
|
2015-06-28 21:10:06 -04:00
|
|
|
out.add(first)
|
|
|
|
|
out.add(second)
|
|
|
|
|
out.add(third)
|
|
|
|
|
return out
|
|
|
|
|
}
|
|
|
|
|
|
2018-05-22 19:43:54 -04:00
|
|
|
fun vec<T>(first:T, second:T, third:T, fourth:T):vec::vec<T> {
|
|
|
|
|
var out.construct():vec::vec<T>
|
2015-06-28 21:10:06 -04:00
|
|
|
out.add(first)
|
|
|
|
|
out.add(second)
|
|
|
|
|
out.add(third)
|
|
|
|
|
out.add(fourth)
|
|
|
|
|
return out
|
|
|
|
|
}
|
|
|
|
|
|
2018-05-22 19:43:54 -04:00
|
|
|
fun vec<T>(first:T, second:T, third:T, fourth:T, fifth:T):vec::vec<T> {
|
|
|
|
|
var out.construct():vec::vec<T>
|
2015-06-28 21:10:06 -04:00
|
|
|
out.add(first)
|
|
|
|
|
out.add(second)
|
|
|
|
|
out.add(third)
|
|
|
|
|
out.add(fourth)
|
|
|
|
|
out.add(fifth)
|
|
|
|
|
return out
|
|
|
|
|
}
|
|
|
|
|
|
2018-05-22 19:43:54 -04:00
|
|
|
fun vec<T>(first:T, second:T, third:T, fourth:T, fifth:T, sixth:T):vec::vec<T> {
|
|
|
|
|
var out.construct():vec::vec<T>
|
2015-06-28 21:10:06 -04:00
|
|
|
out.add(first)
|
|
|
|
|
out.add(second)
|
|
|
|
|
out.add(third)
|
|
|
|
|
out.add(fourth)
|
|
|
|
|
out.add(fifth)
|
|
|
|
|
out.add(sixth)
|
|
|
|
|
return out
|
|
|
|
|
}
|
|
|
|
|
|
2018-05-22 19:43:54 -04:00
|
|
|
fun vec<T>(first:T, second:T, third:T, fourth:T, fifth:T, sixth:T, seventh:T):vec::vec<T> {
|
|
|
|
|
var out.construct():vec::vec<T>
|
2015-06-28 21:10:06 -04:00
|
|
|
out.add(first)
|
|
|
|
|
out.add(second)
|
|
|
|
|
out.add(third)
|
|
|
|
|
out.add(fourth)
|
|
|
|
|
out.add(fifth)
|
|
|
|
|
out.add(sixth)
|
|
|
|
|
out.add(seventh)
|
|
|
|
|
return out
|
|
|
|
|
}
|
|
|
|
|
|
2018-05-22 19:43:54 -04:00
|
|
|
fun vec<T>(first:T, second:T, third:T, fourth:T, fifth:T, sixth:T, seventh:T, eighth:T):vec::vec<T> {
|
|
|
|
|
var out.construct():vec::vec<T>
|
2015-06-28 21:10:06 -04:00
|
|
|
out.add(first)
|
|
|
|
|
out.add(second)
|
|
|
|
|
out.add(third)
|
|
|
|
|
out.add(fourth)
|
|
|
|
|
out.add(fifth)
|
|
|
|
|
out.add(sixth)
|
|
|
|
|
out.add(seventh)
|
|
|
|
|
out.add(eighth)
|
|
|
|
|
return out
|
|
|
|
|
}
|
|
|
|
|
|
2018-05-22 19:43:54 -04:00
|
|
|
fun vec<T>(first:T, second:T, third:T, fourth:T, fifth:T, sixth:T, seventh:T, eighth:T, ninth:T):vec::vec<T> {
|
|
|
|
|
var out.construct():vec::vec<T>
|
2015-06-28 21:10:06 -04:00
|
|
|
out.add(first)
|
|
|
|
|
out.add(second)
|
|
|
|
|
out.add(third)
|
|
|
|
|
out.add(fourth)
|
|
|
|
|
out.add(fifth)
|
|
|
|
|
out.add(sixth)
|
|
|
|
|
out.add(seventh)
|
|
|
|
|
out.add(eighth)
|
|
|
|
|
out.add(ninth)
|
|
|
|
|
return out
|
|
|
|
|
}
|
|
|
|
|
|
2018-09-30 16:21:24 -04:00
|
|
|
fun vec<T>(first:T, second:T, third:T, fourth:T, fifth:T, sixth:T, seventh:T, eighth:T, ninth:T, tenth:T):vec::vec<T> {
|
|
|
|
|
var out.construct():vec::vec<T>
|
|
|
|
|
out.add(first)
|
|
|
|
|
out.add(second)
|
|
|
|
|
out.add(third)
|
|
|
|
|
out.add(fourth)
|
|
|
|
|
out.add(fifth)
|
|
|
|
|
out.add(sixth)
|
|
|
|
|
out.add(seventh)
|
|
|
|
|
out.add(eighth)
|
|
|
|
|
out.add(ninth)
|
|
|
|
|
out.add(tenth)
|
|
|
|
|
return out
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
fun vec<T>(first:T, second:T, third:T, fourth:T, fifth:T, sixth:T, seventh:T, eighth:T, ninth:T, tenth:T, eleventh:T):vec::vec<T> {
|
|
|
|
|
var out.construct():vec::vec<T>
|
|
|
|
|
out.add(first)
|
|
|
|
|
out.add(second)
|
|
|
|
|
out.add(third)
|
|
|
|
|
out.add(fourth)
|
|
|
|
|
out.add(fifth)
|
|
|
|
|
out.add(sixth)
|
|
|
|
|
out.add(seventh)
|
|
|
|
|
out.add(eighth)
|
|
|
|
|
out.add(ninth)
|
|
|
|
|
out.add(tenth)
|
|
|
|
|
out.add(eleventh)
|
|
|
|
|
return out
|
|
|
|
|
}
|
|
|
|
|
|
2018-05-22 19:43:54 -04:00
|
|
|
fun vec<T>(first:T, second:T, third:T, fourth:T, fifth:T, sixth:T, seventh:T, eighth:T, ninth:T, tenth:T, eleventh:T, twelveth:T):vec::vec<T> {
|
|
|
|
|
var out.construct():vec::vec<T>
|
2015-06-28 21:10:06 -04:00
|
|
|
out.add(first)
|
|
|
|
|
out.add(second)
|
|
|
|
|
out.add(third)
|
|
|
|
|
out.add(fourth)
|
|
|
|
|
out.add(fifth)
|
|
|
|
|
out.add(sixth)
|
|
|
|
|
out.add(seventh)
|
|
|
|
|
out.add(eighth)
|
|
|
|
|
out.add(ninth)
|
|
|
|
|
out.add(tenth)
|
|
|
|
|
out.add(eleventh)
|
|
|
|
|
out.add(twelveth)
|
|
|
|
|
return out
|
|
|
|
|
}
|
|
|
|
|
|