setCachedConvexTrianglePillar method

void setCachedConvexTrianglePillar(
  1. int xi,
  2. int yi,
  3. bool getUpperTriangle,
  4. ConvexPolyhedron convex,
  5. Vec3 offset,
)

Implementation

void setCachedConvexTrianglePillar(
  int xi,
  int yi,
  bool getUpperTriangle,
  ConvexPolyhedron convex,
  Vec3 offset
) {
  _cachedPillars[getCacheConvexTrianglePillarKey(xi, yi, getUpperTriangle)] = HeightfieldPillar(
    convex,
    offset,
  );
}