add zoom option to camera to work around the orthographic camera
This commit is contained in:
@ -181,7 +181,8 @@
|
||||
{ "name": "position", "type": "Vec3" },
|
||||
{ "name": "direction", "type": "Vec3", "default": { "x": 0, "y": 0, "z": -1 } },
|
||||
{ "name": "up", "type": "Vec3", "default": { "x": 0, "y": 1, "z": 0 } },
|
||||
{ "name": "fov", "type": "float", "default": 1.57079632679 }
|
||||
{ "name": "fov", "type": "float", "default": 1.57079632679 },
|
||||
{ "name": "zoom", "type": "float", "default": 1 }
|
||||
]
|
||||
},
|
||||
|
||||
@ -194,7 +195,8 @@
|
||||
{ "name": "roll", "type": "float", "default": 0 },
|
||||
{ "name": "pitch", "type": "float", "default": 0 },
|
||||
{ "name": "yaw", "type": "float", "default": 0 },
|
||||
{ "name": "fov", "type": "float", "default": 1.57079632679 }
|
||||
{ "name": "fov", "type": "float", "default": 1.57079632679 },
|
||||
{ "name": "zoom", "type": "float", "default": 1 }
|
||||
],
|
||||
"return": {
|
||||
"fields": [
|
||||
|
Reference in New Issue
Block a user