mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +00:00
sync correction
This commit is contained in:
parent
c615d3e822
commit
04a6130df8
2 changed files with 2 additions and 9 deletions
|
|
@ -344,14 +344,7 @@ void RenderProbeMgr::_setupStaticParameters()
|
|||
probePositionsData[mEffectiveProbeCount] = Point4F(probePos.x, probePos.y, probePos.z,0);
|
||||
probeRefPositionsData[mEffectiveProbeCount] = Point4F(refPos.x, refPos.y, refPos.z, 0);
|
||||
|
||||
Point3F projectScale=curEntry.mBounds.getExtents();
|
||||
MatrixF transform = curEntry.getTransform();
|
||||
transform.scale(projectScale);
|
||||
//transform.setPosition(curEntry.getTransform().getPosition());
|
||||
transform.fullInverse();
|
||||
//transform.transpose();
|
||||
|
||||
probeWorldToObjData[mEffectiveProbeCount] = transform;// curEntry.getTransform();
|
||||
probeWorldToObjData[mEffectiveProbeCount] = curEntry.getTransform();
|
||||
Point3F bbMin = refPos - curEntry.mProbeRefScale/2;
|
||||
Point3F bbMax = curEntry.mExtents/4;
|
||||
probeBBMinData[mEffectiveProbeCount] = Point4F(bbMin.x, bbMin.y, bbMin.z, 0);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue