C# 클래스 Transvoxel.SurfaceExtractor.TransvoxelExtractor2

파일 보기 프로젝트 열기: BinaryConstruct/Transvoxel-XNA

공개 메소드들

메소드 설명
PolygonizeRegularCell ( Vector3i min, Vector3f offset, Vector3i xyz, IVolumeData samples, byte lodIndex, float cellSize, IList &verts, IList &indices, RegularCache &cache ) : int
PolygonizeTransitionCell ( Vector3f offset, Vector3i origin, Vector3i localX, Vector3i localY, Vector3i localZ, int x, int y, float cellSize, byte lodIndex, byte axis, byte directionMask, IVolumeData samples, IList &verts, IList &indices, TransitionCache &cache ) : int

비공개 메소드들

메소드 설명
ComputeDelta ( Vector3f v, int k, int s ) : Vector3f
HiNibble ( byte b ) : byte
Interp ( Vector3f v0, Vector3f v1, Vector3i p0, Vector3i p1, IVolumeData samples, byte lodIndex ) : Vector3f
Interp ( Vector3i v0, Vector3i v1, Vector3i p0, Vector3i p1, IVolumeData samples, byte lodIndex ) : Vector3f
LoNibble ( byte b ) : byte
PrevOffset ( byte dir ) : Vector3i
ProjectNormal ( Vector3f n, Vector3f delta ) : Vector3f
Sign ( sbyte b ) : int

메소드 상세

PolygonizeRegularCell() 공개 정적인 메소드

public static PolygonizeRegularCell ( Vector3i min, Vector3f offset, Vector3i xyz, IVolumeData samples, byte lodIndex, float cellSize, IList &verts, IList &indices, RegularCache &cache ) : int
min Transvoxel.Math.Vector3i
offset Transvoxel.Math.Vector3f
xyz Transvoxel.Math.Vector3i
samples IVolumeData
lodIndex byte
cellSize float
verts IList
indices IList
cache RegularCache
리턴 int

PolygonizeTransitionCell() 공개 정적인 메소드

public static PolygonizeTransitionCell ( Vector3f offset, Vector3i origin, Vector3i localX, Vector3i localY, Vector3i localZ, int x, int y, float cellSize, byte lodIndex, byte axis, byte directionMask, IVolumeData samples, IList &verts, IList &indices, TransitionCache &cache ) : int
offset Transvoxel.Math.Vector3f
origin Transvoxel.Math.Vector3i
localX Transvoxel.Math.Vector3i
localY Transvoxel.Math.Vector3i
localZ Transvoxel.Math.Vector3i
x int
y int
cellSize float
lodIndex byte
axis byte
directionMask byte
samples IVolumeData
verts IList
indices IList
cache TransitionCache
리턴 int