Go to the source code of this file.
◆ ADAPTIVE_OCTREE_DEPTH
#define ADAPTIVE_OCTREE_DEPTH 1 |
◆ PROFILE
◆ SCRIBBLE
◆ Scribble
#define Scribble |
( |
| bytes, |
|
|
| size ) |
◆ VertexFaceRef
typedef struct VertexFaceRef VertexFaceRef |
◆ anonymous enum
Enumerator |
---|
kBaseOctreeDepth | |
kSmallOctreeDepth | |
kOctreeSizeThreshold | |
kOctreeSmallSizeThreshold | |
Definition at line 66 of file OOMesh.m.
67{
69
73};
@ kOctreeSmallSizeThreshold
◆ anonymous enum
Enumerator |
---|
kVertexFaceDefInternalCount | |
Definition at line 108 of file OOMesh.m.
109{
110#if OOLITE_64_BIT
112#else
114#endif
115};
@ kVertexFaceDefInternalCount
◆ OOMeshNormalMode
Enumerator |
---|
kNormalModePerFace | |
kNormalModeSmooth | |
kNormalModeExplicit | |
Definition at line 76 of file OOMesh.m.
◆ IsLegacyNormalMode()
Definition at line 188 of file OOMesh.m.
189{
190
191
192
194 {
197 return YES;
198
200 return NO;
201 }
202
203#ifndef NDEBUG
204 [NSException raise:NSInvalidArgumentException format:@"Unexpected normal mode in %s", __PRETTY_FUNCTION__];
205#endif
206 return NO;
207}
References kNormalModeExplicit, kNormalModePerFace, and kNormalModeSmooth.
◆ IsPerVertexNormalMode()
Definition at line 210 of file OOMesh.m.
211{
212
213
215 {
217 return NO;
218
221 return YES;
222 }
223
224#ifndef NDEBUG
225 [NSException raise:NSInvalidArgumentException format:@"Unexpected normal mode in %s", __PRETTY_FUNCTION__];
226#endif
227 return NO;
228}
References kNormalModeExplicit, kNormalModePerFace, and kNormalModeSmooth.
◆ VFRAddFace()
◆ VFRGetCount()
◆ VFRGetFaceAtIndex()
static NSUInteger VFRGetFaceAtIndex |
( |
VertexFaceRef * | vfr, |
|
|
NSUInteger | index ) |
|
static |
◆ kOOCacheMeshes
NSString* const kOOCacheMeshes = @"@"OOMesh" |
|
static |
◆ kOOCacheOctrees
NSString* const kOOCacheOctrees = @"@"octrees" |
|
static |
◆ kOOLogMeshDataNotFound
NSString* const kOOLogMeshDataNotFound = @"mesh.load.failed.fileNotFound" |
|
static |
◆ kOOLogMeshTooManyMaterials
NSString* const kOOLogMeshTooManyMaterials = @"mesh.load.failed.tooManyMaterials" |
|
static |