added bowling_ball model; infinite-loop test script

git-svn-id: svn://anubis/anaglym/trunk@216 99a6e188-d820-4881-8870-2d33a10e2619
This commit is contained in:
Josh Holtrop 2009-12-14 02:01:42 +00:00
parent 252f683ed7
commit 0b7f7180a6
7 changed files with 3745 additions and 2 deletions

BIN
lib/bowling_ball.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

12
lib/bowling_ball.mtl Normal file
View File

@ -0,0 +1,12 @@
# Blender3D MTL File: bowling_ball.blend
# Material Count: 1
newmtl None_bowling_ball.jpg
Ns 0
Ka 0.000000 0.000000 0.000000
Kd 0.8 0.8 0.8
Ks 0.8 0.8 0.8
d 1
illum 2
map_Kd bowling_ball.jpg

3726
lib/bowling_ball.obj Normal file

File diff suppressed because it is too large Load Diff

1
lib/bowling_ball.phy Normal file
View File

@ -0,0 +1 @@
sphere "Sphere" 0.250000 0.000000 0.000000 0.000000

View File

@ -77,8 +77,7 @@ function init_event()
box:setVisible(false)
box:setPosition(0, 0, lane_bottom - (maxz - minz) - 0.4)
reference_pin:setPosition(0, 0, lane_bottom - maxz - 0.1)
reference_ball = ag.createSphere(0.25)
reference_ball:setColor(0.7, 0.1, 0.9)
reference_ball = ag.loadModel("bowling_ball")
reference_ball:setMass(10)
reference_ball:setPosition(0, -2, -1.5)
setupStars()

BIN
libsrc/bowling_ball.blend Normal file

Binary file not shown.

5
tests/infinite-loop.lua Normal file
View File

@ -0,0 +1,5 @@
function init_event()
while (1) do
end
end