Fix MSVC name squatting, (near, far)

This commit is contained in:
Phillip 2016-01-19 04:35:55 -08:00
parent 7c6dbacbd3
commit b53a1d30b2
1 changed files with 4 additions and 4 deletions

View File

@ -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;
}; };