#include <OOMeshToOctreeConverter.h>
Definition at line 41 of file OOMeshToOctreeConverter.h.
◆ addTriangle:
- (void) addTriangle: |
|
(Triangle) | tri |
|
◆ converterWithCapacity:
+ (instancetype) converterWithCapacity: |
|
(NSUInteger) | capacity |
|
Definition at line 903 of file OOMeshToOctreeConverter.m.
256 :(NSUInteger)capacity
257{
258 return [[[self alloc] initWithCapacity:capacity] autorelease];
259}
◆ dealloc
Definition at line 903 of file OOMeshToOctreeConverter.m.
249{
251
252 [super dealloc];
253}
OOINLINE void DestroyGeometryData(GeometryData *data)
◆ descriptionComponents
- (NSString *) descriptionComponents |
|
|
|
|
implementation |
◆ findOctreeToDepth:
- (Octree *) findOctreeToDepth: |
|
(NSUInteger) | depth |
|
Definition at line 903 of file OOMeshToOctreeConverter.m.
277 :(NSUInteger)depth
278{
281
283
285}
void BuildSubOctree(GeometryData *data, OOOctreeBuilder *builder, OOScalar halfWidth, NSUInteger depth)
static OOScalar MaxDimensionFromOrigin(GeometryData *data)
Octree * buildOctreeWithRadius:(GLfloat radius)
◆ initWithCapacity:
- (id) initWithCapacity: |
|
(NSUInteger) | capacity |
|
Definition at line 903 of file OOMeshToOctreeConverter.m.
234 :(NSUInteger)capacity
235{
236 NSParameterAssert(capacity < UINT32_MAX);
237 if (capacity == 0) capacity = 1;
238
239 if ((self = [super init]))
240 {
242 }
243
244 return self;
245}
OOINLINE void InitGeometryData(GeometryData *data, uint_fast32_t capacity)
◆ _data
The documentation for this class was generated from the following files: