mirror of https://github.com/AxioDL/metaforce.git
Fix MSVC name squatting, (near, far)
This commit is contained in:
parent
7c6dbacbd3
commit
b53a1d30b2
|
@ -83,8 +83,8 @@ struct FRME : BigDNA
|
||||||
PerspectiveProjection() : IProjection(ProjectionType::Perspective) {}
|
PerspectiveProjection() : IProjection(ProjectionType::Perspective) {}
|
||||||
Value<float> fov;
|
Value<float> fov;
|
||||||
Value<float> aspect;
|
Value<float> aspect;
|
||||||
Value<float> near;
|
Value<float> znear;
|
||||||
Value<float> far;
|
Value<float> zfar;
|
||||||
};
|
};
|
||||||
|
|
||||||
struct OrthographicProjection : IProjection
|
struct OrthographicProjection : IProjection
|
||||||
|
@ -95,8 +95,8 @@ struct FRME : BigDNA
|
||||||
Value<float> right;
|
Value<float> right;
|
||||||
Value<float> top;
|
Value<float> top;
|
||||||
Value<float> bottom;
|
Value<float> bottom;
|
||||||
Value<float> near;
|
Value<float> znear;
|
||||||
Value<float> far;
|
Value<float> zfar;
|
||||||
};
|
};
|
||||||
std::unique_ptr<IProjection> projection;
|
std::unique_ptr<IProjection> projection;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue