mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-09 15:30:41 +00:00
timmy merge work
This commit is contained in:
parent
f1e584ca69
commit
ab10cc0c87
29 changed files with 295 additions and 925 deletions
|
|
@ -36,7 +36,6 @@
|
|||
#include "core/fileObject.h"
|
||||
#include "core/resourceManager.h"
|
||||
#include "console/simPersistId.h"
|
||||
#include <string>
|
||||
#include "T3D/gameFunctions.h"
|
||||
#include "postFx/postEffect.h"
|
||||
#include "renderInstance/renderProbeMgr.h"
|
||||
|
|
@ -183,9 +182,6 @@ void Skylight::prepRenderImage(SceneRenderState *state)
|
|||
if (!mEnabled || !Skylight::smRenderSkylights)
|
||||
return;
|
||||
|
||||
Point3F distVec = getPosition() - state->getCameraPosition();
|
||||
F32 dist = distVec.len();
|
||||
|
||||
//special hook-in for skylights
|
||||
Point3F camPos = state->getCameraPosition();
|
||||
mProbeInfo->mBounds.setCenter(camPos);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue