mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-10 22:27:42 +00:00
Fix MSVC name squatting, (near, far)
This commit is contained in:
@@ -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;
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user