LibSM64SurfUtils

Bridges low-level libsm64/native behavior into the mod runtime. Use this page as a quick orientation point before editing LibSM64SurfUtils.

Functions

Link copied to clipboard
fun block(x: Int, y: Int, z: Int, blockTop: Float, blockBottom: Float, surface: Short, terrain: Short): Array<SM64Surface>
Link copied to clipboard
fun generateQuad(a: Vector3f, b: Vector3f, c: Vector3f, d: Vector3f, translation: Vector3f, surface: Short, terrain: Short): Array<SM64Surface>
Link copied to clipboard
fun generateQuadF(a: Vector3f, b: Vector3f, c: Vector3f, d: Vector3f, translation: Vector3f, surface: Short, terrain: Short): Array<SM64Surface>
Link copied to clipboard
fun generateTri(point1: Vector3f, point2: Vector3f, point3: Vector3f, translation: Vector3f, surface: Short, terrain: Short): SM64Surface
Link copied to clipboard
fun plane(x: Int, y: Int, z: Int, blockBottom: Float, surface: Short, terrain: Short): Array<SM64Surface>
Link copied to clipboard
Link copied to clipboard