mirror of
https://github.com/cyberarm/i-mic-fps.git
synced 2025-12-16 16:12:35 +00:00
Add that plane, clamp FOV 1..179
This commit is contained in:
@@ -186,8 +186,10 @@ class IMICFPS
|
|||||||
$debug = !$debug
|
$debug = !$debug
|
||||||
when Gosu::MsWheelUp
|
when Gosu::MsWheelUp
|
||||||
@initial_fov += 1
|
@initial_fov += 1
|
||||||
|
@initial_fov = @initial_fov.clamp(1, 179)
|
||||||
when Gosu::MsWheelDown
|
when Gosu::MsWheelDown
|
||||||
@initial_fov -= 1
|
@initial_fov -= 1
|
||||||
|
@initial_fov = @initial_fov.clamp(1, 179)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
11
objects/plane.mtl
Normal file
11
objects/plane.mtl
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
# Blender MTL File: 'None'
|
||||||
|
# Material Count: 1
|
||||||
|
|
||||||
|
newmtl None
|
||||||
|
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 objects/skydome.png
|
||||||
17
objects/plane.obj
Normal file
17
objects/plane.obj
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
# Blender v2.79 (sub 0) OBJ File: ''
|
||||||
|
# www.blender.org
|
||||||
|
mtllib plane.mtl
|
||||||
|
o Plane
|
||||||
|
v -999.999939 0.000000 999.999939
|
||||||
|
v 999.999939 0.000000 999.999939
|
||||||
|
v -999.999939 0.000000 -999.999939
|
||||||
|
v 999.999939 0.000000 -999.999939
|
||||||
|
vt 0.395761 0.622989
|
||||||
|
vt 0.116739 0.902011
|
||||||
|
vt 0.116739 0.622989
|
||||||
|
vt 0.395761 0.902011
|
||||||
|
vn 0.0000 1.0000 0.0000
|
||||||
|
usemtl None
|
||||||
|
s off
|
||||||
|
f 2/1/1 3/2/1 1/3/1
|
||||||
|
f 2/1/1 4/4/1 3/2/1
|
||||||
Reference in New Issue
Block a user