aboutsummaryrefslogtreecommitdiff
path: root/dep/src/g3dlite/BumpMapPreprocess.cpp
diff options
context:
space:
mode:
authorRat <none@none>2010-06-07 19:35:24 +0200
committerRat <none@none>2010-06-07 19:35:24 +0200
commite4e13c2bb8c691486ac717b206f166f33c8c531a (patch)
treea0ab601406c1396d41527a49392725c8179a6d8a /dep/src/g3dlite/BumpMapPreprocess.cpp
parent32546e22828e793e3881e1055acb72b6a044e331 (diff)
removed 'dep' folder, no more needed
--HG-- branch : trunk
Diffstat (limited to 'dep/src/g3dlite/BumpMapPreprocess.cpp')
-rw-r--r--dep/src/g3dlite/BumpMapPreprocess.cpp43
1 files changed, 0 insertions, 43 deletions
diff --git a/dep/src/g3dlite/BumpMapPreprocess.cpp b/dep/src/g3dlite/BumpMapPreprocess.cpp
deleted file mode 100644
index 20281caf8cb..00000000000
--- a/dep/src/g3dlite/BumpMapPreprocess.cpp
+++ /dev/null
@@ -1,43 +0,0 @@
-/**
- \file BumpMapPreprocess.cpp
-
- \maintainer Morgan McGuire, http://graphics.cs.williams.edu
-
- \created 2010-01-28
- \edited 2010-01-28
-
- Copyright 2000-2010, Morgan McGuire.
- All rights reserved.
- */
-#include "G3D/BumpMapPreprocess.h"
-#include "G3D/Any.h"
-#include "G3D/stringutils.h"
-
-namespace G3D {
-
-BumpMapPreprocess::BumpMapPreprocess(const Any& any) {
- *this = BumpMapPreprocess();
- for (Any::AnyTable::Iterator it = any.table().begin(); it.hasMore(); ++it) {
- const std::string& key = toLower(it->key);
- if (key == "lowpassfilter") {
- lowPassFilter = it->value;
- } else if (key == "zextentpixels") {
- zExtentPixels = it->value;
- } else if (key == "scalezbynz") {
- scaleZByNz = it->value;
- } else {
- any.verify(false, "Illegal key: " + it->key);
- }
- }
-}
-
-
-BumpMapPreprocess::operator Any() const {
- Any any(Any::TABLE, "BumpMapPreprocess");
- any["lowPassFilter"] = lowPassFilter;
- any["zExtentPixels"] = zExtentPixels;
- any["scaleZByNz"] = scaleZByNz;
- return any;
-}
-
-}