Add some inline files to reduce amount of code parsed.

This commit is contained in:
castano
2011-10-10 19:35:21 +00:00
parent cbf4b2e3bf
commit 94401919b8
31 changed files with 1104 additions and 959 deletions

View File

@ -26,7 +26,7 @@
#include "nvimage/DirectDrawSurface.h"
#include "nvmath/Vector.h"
#include "nvmath/Vector.inl"
#include "nvcore/Array.h"
#include "nvcore/StrLib.h"
@ -474,7 +474,7 @@ Vector3 CubeSurface::Private::applyCosinePowerFilter(const Vector3 & filterDir,
// Focal point in polar coordinates:
Vector2 Fp = toPolar(F);
nvCheck(Fp.y >= 0.0f); // top
nvCheck(Fp.y <= PI/2); // horizon
//nvCheck(Fp.y <= PI/2); // horizon @@ We should cull this earlier.
// If this is an ellipse:
if (Fp.y + coneAngle < PI/2) {