elect
11/29/2016, 9:21 AMwhen(a.x) {
is Float -> {
res.x = (a.x as Float) < b.x.toFloat()
res.y = (a.y as Float) < b.y.toFloat()
}
knowing that a.x
is a Float, is it better to have
res.x = (a.x as Float) < b.x.toFloat()
or res.x = a.x.toFloat() < b.x.toFloat()
?