#include "../CollisionPairInserter.h"
#include "Stdafx.h"
#include <iostream>
#include "OPC_BoxBoxOverlap.h"
#include "OPC_TriTriOverlap.h"
Go to the source code of this file.
Defines | |
#define | ALTERNATIVE_CODE |
Alternative descent rules. | |
#define | FETCH_LEAF(prim_index, imesh, rot, trans) |
Request triangle vertices from the app and transform them. | |
#define | UPDATE_CACHE |
#define ALTERNATIVE_CODE |
Alternative descent rules.
Definition at line 476 of file OPC_TreeCollider.cpp.
#define FETCH_LEAF | ( | prim_index, | |
imesh, | |||
rot, | |||
trans | |||
) |
mLeafIndex = prim_index; \ /* Request vertices from the app */ \ VertexPointers VP; imesh->GetTriangle(VP, prim_index); \ /* Transform them in a common space */ \ TransformPoint(mLeafVerts[0], *VP.Vertex[0], rot, trans); \ TransformPoint(mLeafVerts[1], *VP.Vertex[1], rot, trans); \ TransformPoint(mLeafVerts[2], *VP.Vertex[2], rot, trans);
Request triangle vertices from the app and transform them.
Definition at line 693 of file OPC_TreeCollider.cpp.
#define UPDATE_CACHE |
if(cache && GetContactStatus()) \
{ \
cache->id0 = mPairs.GetEntry(0); \
cache->id1 = mPairs.GetEntry(1); \
}
Definition at line 330 of file OPC_TreeCollider.cpp.