From Gideon May, fixes to remain const base type instances in headers.

This commit is contained in:
Robert Osfield
2002-10-25 12:29:03 +00:00
parent 18d99c06e4
commit 55b2a5ff30
7 changed files with 21 additions and 17 deletions

View File

@@ -208,7 +208,7 @@ void Camera::setNearFar(double zNear, double zFar)
/** Adjust the clipping planes to account for a new window aspcect ratio.
* Typicall used after resizeing a window.*/
void Camera::adjustAspectRatio(double newAspectRatio, const AdjustAspectRatioMode aa)
void Camera::adjustAspectRatio(double newAspectRatio, AdjustAspectRatioMode aa)
{
if (newAspectRatio<0.01f || newAspectRatio>100.0f)
{
@@ -424,7 +424,7 @@ Matrix* Camera::getTransform(TransformMode mode)
}
}
const Matrix* Camera::getTransform(const TransformMode mode) const
const Matrix* Camera::getTransform(TransformMode mode) const
{
switch(mode)
{