constructOrtho
Definition
-- @/=[C]:-1
function constructOrtho(...)
Callers
@/lua/ge/extensions/util/maptiles.lua
-- Set up the orthographic projection
renderView.frustum = Frustum.constructOrtho(left, right, bottom, top, 0.1, 2000)
renderView.fov = 75 -- FOV is not used in orthographic projection but may be required by the API
@/lua/ge/extensions/editor/vehicleDetailViewer.lua
rv.viewPort = RectI(0, 0, view.size.x * resolutionMultiplier[0], view.size.y * resolutionMultiplier[0])
rv.frustum = Frustum.constructOrtho(left, right, top, bottom, view.nearClip, farClip)