From 79eaabd96147faae21ab09f31acbb3691108b854 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Thu, 23 Jan 2003 08:39:48 +0000 Subject: [PATCH] Fixed typo of APPLY_MATICES_BEFORE_STATE. --- src/osgUtil/RenderLeaf.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/osgUtil/RenderLeaf.cpp b/src/osgUtil/RenderLeaf.cpp index 1da4729b2..360525af0 100644 --- a/src/osgUtil/RenderLeaf.cpp +++ b/src/osgUtil/RenderLeaf.cpp @@ -19,7 +19,7 @@ using namespace osgUtil; // comment if you are are working with vertex programs, // but it does break osgreflect demo and perhaps others, so keep an eye // out artifacts. -// #define APPLY_MATICES_BEFORE_STATE +// #define APPLY_MATRICES_BEFORE_STATE void RenderLeaf::render(State& state,RenderLeaf* previous) { @@ -27,7 +27,7 @@ void RenderLeaf::render(State& state,RenderLeaf* previous) if (previous) { -#ifdef APPLY_MATICES_BEFORE_STATE +#ifdef APPLY_MATRICES_BEFORE_STATE // apply matrices if required. state.applyProjectionMatrix(_projection.get()); state.applyModelViewMatrix(_modelview.get()); @@ -52,7 +52,7 @@ void RenderLeaf::render(State& state,RenderLeaf* previous) } -#ifndef APPLY_MATICES_BEFORE_STATE +#ifndef APPLY_MATRICES_BEFORE_STATE // apply matrices if required. state.applyProjectionMatrix(_projection.get()); state.applyModelViewMatrix(_modelview.get()); @@ -63,7 +63,7 @@ void RenderLeaf::render(State& state,RenderLeaf* previous) } else { -#ifdef APPLY_MATICES_BEFORE_STATE +#ifdef APPLY_MATRICES_BEFORE_STATE // apply matrices if required. state.applyProjectionMatrix(_projection.get()); state.applyModelViewMatrix(_modelview.get()); @@ -74,7 +74,7 @@ void RenderLeaf::render(State& state,RenderLeaf* previous) state.apply(_parent->_stateset.get()); -#ifndef APPLY_MATICES_BEFORE_STATE +#ifndef APPLY_MATRICES_BEFORE_STATE // apply matrices if required. state.applyProjectionMatrix(_projection.get()); state.applyModelViewMatrix(_modelview.get());