mirror of
https://github.com/celisej567/source-sdk-2013.git
synced 2026-09-23 20:09:45 +03:00
Initial Mapbase commit (squashed from mapbase-beta)
This commit is contained in:
@@ -233,7 +233,9 @@ void CacheOptimizedTriangle::ChangeIntoIntersectionFormat(void)
|
||||
|
||||
}
|
||||
|
||||
#ifndef MAPBASE
|
||||
int n_intersection_calculations=0;
|
||||
#endif
|
||||
|
||||
int CacheOptimizedTriangle::ClassifyAgainstAxisSplit(int split_plane, float split_value)
|
||||
{
|
||||
@@ -476,7 +478,9 @@ void RayTracingEnvironment::Trace4Rays(const FourRays &rays, fltx4 TMin, fltx4 T
|
||||
TriIntersectData_t const *tri = &( OptimizedTriangleList[tnum].m_Data.m_IntersectData );
|
||||
if ( ( mailboxids[mbox_slot] != tnum ) && ( tri->m_nTriangleID != skip_id ) )
|
||||
{
|
||||
#ifndef MAPBASE
|
||||
n_intersection_calculations++;
|
||||
#endif
|
||||
mailboxids[mbox_slot] = tnum;
|
||||
// compute plane intersection
|
||||
|
||||
|
||||
Reference in New Issue
Block a user