Jelajahi Sumber

Update resources

Daniele Bartolini 9 tahun lalu
induk
melakukan
3da027941a

+ 1 - 1
samples/00-hello-world/camera.unit

@@ -11,7 +11,7 @@ components = {
 		type = "camera"
 		data = {
 			projection = "perspective"
-			fov = 60.0
+			fov = 1.0472
 			near_range = 0.01
 			far_range = 1000.0
 		}

+ 1 - 1
samples/01-physics/core/units/camera.unit

@@ -11,7 +11,7 @@ components = {
 		type = "camera"
 		data = {
 			projection = "perspective"
-			fov = 45.0
+			fov = 0.785398
 			near_range = 0.01
 			far_range = 1000.0
 		}

+ 1 - 1
samples/01-physics/core/units/light.unit

@@ -13,7 +13,7 @@ components = {
 			light = "directional"
 			range = 1
 			intensity = 3
-			spot_angle = 30
+			spot_angle = 0.523599
 			color = [ 1 1 1 ]
 		}
 	}

+ 1 - 1
samples/01-physics/test.level

@@ -166,7 +166,7 @@ units = {
 					intensity = 3
 					light = "directional"
 					range = 1
-					spot_angle = 30
+					spot_angle = 0.523599
 				}
 				type = "light"
 			}