mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-18 03:15:41 +00:00
Core/Misc: update g3dlite lib (#2904)
* Core/Misc: update g3dlite lib * update Co-authored-by: Francesco Borzì <borzifrancesco@gmail.com>
This commit is contained in:
6
deps/g3dlite/source/BumpMapPreprocess.cpp
vendored
6
deps/g3dlite/source/BumpMapPreprocess.cpp
vendored
@@ -6,7 +6,7 @@
|
||||
\created 2010-01-28
|
||||
\edited 2010-01-28
|
||||
|
||||
Copyright 2000-2010, Morgan McGuire.
|
||||
Copyright 2000-2012, Morgan McGuire.
|
||||
All rights reserved.
|
||||
*/
|
||||
#include "G3D/BumpMapPreprocess.h"
|
||||
@@ -17,7 +17,7 @@ namespace G3D {
|
||||
|
||||
BumpMapPreprocess::BumpMapPreprocess(const Any& any) {
|
||||
*this = BumpMapPreprocess();
|
||||
for (Any::AnyTable::Iterator it = any.table().begin(); it.hasMore(); ++it) {
|
||||
for (Any::AnyTable::Iterator it = any.table().begin(); it.isValid(); ++it) {
|
||||
const std::string& key = toLower(it->key);
|
||||
if (key == "lowpassfilter") {
|
||||
lowPassFilter = it->value;
|
||||
@@ -32,7 +32,7 @@ BumpMapPreprocess::BumpMapPreprocess(const Any& any) {
|
||||
}
|
||||
|
||||
|
||||
BumpMapPreprocess::operator Any() const {
|
||||
Any BumpMapPreprocess::toAny() const {
|
||||
Any any(Any::TABLE, "BumpMapPreprocess");
|
||||
any["lowPassFilter"] = lowPassFilter;
|
||||
any["zExtentPixels"] = zExtentPixels;
|
||||
|
||||
Reference in New Issue
Block a user