gamnit :: Cuboid :: _texture_coords
redef var texture_coords: Array[Float] is lazy do
var a = [0.0, 1.0]
var b = [1.0, 1.0]
var c = [0.0, 0.0]
var d = [1.0, 0.0]
var texture_coords = new Array[Float]
var face = [a, c, d, a, d, b]
for i in 6.times do for v in face do texture_coords.add_all v
return texture_coords
end
lib/gamnit/depth/more_meshes.nit:132,2--142,4