cleaned Texture interface
new C++ demo: textures
slightly adjusted SAH for kd-tree
slightly optimized kd-tree building -- moved termination cond. so it's tested before recursion
minor sphere intersection optimization
# Blender v242 OBJ File: bow.blend
# www.blender3d.org
mtllib cube.mtl
o Cube_Cube.001
v -0.156446 0.619376 -1.609937
v 1.108605 -0.823246 -1.045591
v -0.353969 -1.695493 0.003248
v -1.619020 -0.252870 -0.561099
v 0.353969 1.695493 -0.003248
v 1.619020 0.252870 0.561099
v 0.156445 -0.619376 1.609937
v -1.108605 0.823246 1.045591
usemtl (null)
usemtl (null)
s off
f 5 1 8
f 1 4 8
f 3 7 8
f 3 8 4
f 2 6 3
f 6 7 3
f 1 5 2
f 5 6 2
f 5 8 7
f 5 7 6
f 1 2 3
f 1 3 4