Example #1
0
Bolts::mat4 Bolts::Camera::GetProjectionMatrix() const
{
	if( m_projectionDirty ) {
		UpdateProjMatrix ();
	}

	return m_projMatrix;
}
Example #2
0
void CCullingManager::Process()
{
	//DWORD time = ELTimer_GetMSec();
	//Frustum f;
	UpdateViewMatrix();
	UpdateProjMatrix();
	BuildViewFrustum();
	m_Factory->FrustumTest(GetFrustum(), this);
	//Tracef("cull process : %3d  ",ELTimer_GetMSec()-time);
}