mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 05:07:43 +00:00
Tons of refactors and bug fixes
This commit is contained in:
@@ -10,7 +10,7 @@ CGuiCamera::CGuiCamera(const CGuiWidgetParms& parms,
|
||||
float left, float right,
|
||||
float top, float bottom,
|
||||
float znear, float zfar)
|
||||
: CGuiWidget(parms),
|
||||
: CGuiWidget(parms), xf8_proj(EProjection::Orthographic),
|
||||
xfc_left(left), x100_right(right),
|
||||
x104_top(top), x108_bottom(bottom),
|
||||
x10c_znear(znear), x110_zfar(zfar)
|
||||
@@ -19,7 +19,7 @@ CGuiCamera::CGuiCamera(const CGuiWidgetParms& parms,
|
||||
CGuiCamera::CGuiCamera(const CGuiWidgetParms& parms,
|
||||
float fov, float aspect,
|
||||
float znear, float zfar)
|
||||
: CGuiWidget(parms),
|
||||
: CGuiWidget(parms), xf8_proj(EProjection::Perspective),
|
||||
xfc_fov(fov), x100_aspect(aspect),
|
||||
x104_znear(znear), x108_zfar(zfar)
|
||||
{}
|
||||
|
||||
Reference in New Issue
Block a user