B C N O P S T 

B

Buffer(ByteBuffer) - Constructor for class org.lwjgl.util.par.ParShapesMesh.Buffer
Creates a new ParShapesMesh.Buffer instance backed by the specified container.

C

create(long) - Static method in class org.lwjgl.util.par.ParShapesMesh
Returns a new ParShapesMesh instance for the specified memory address or null if the address is NULL.
create(long, int) - Static method in class org.lwjgl.util.par.ParShapesMesh
Create a ParShapesMesh.Buffer instance at the specified memory.

N

normals(int) - Method in class org.lwjgl.util.par.ParShapesMesh.Buffer
Returns a FloatBuffer view of the data pointed to by the normals field.
normals(int) - Method in class org.lwjgl.util.par.ParShapesMesh
Returns a FloatBuffer view of the data pointed to by the normals field.
npoints() - Method in class org.lwjgl.util.par.ParShapesMesh.Buffer
Returns the value of the npoints field.
npoints() - Method in class org.lwjgl.util.par.ParShapesMesh
Returns the value of the npoints field.
ntriangles() - Method in class org.lwjgl.util.par.ParShapesMesh.Buffer
Returns the value of the ntriangles field.
ntriangles() - Method in class org.lwjgl.util.par.ParShapesMesh
Returns the value of the ntriangles field.

O

org.lwjgl.util.par - package org.lwjgl.util.par
Contains bindings to the par library.

P

par_shapes_clone(ParShapesMesh, ParShapesMesh) - Static method in class org.lwjgl.util.par.ParShapes
Makes a deep copy of a mesh.
par_shapes_compute_aabb(ParShapesMesh, float[]) - Static method in class org.lwjgl.util.par.ParShapes
Array version of: compute_aabb
par_shapes_compute_aabb(ParShapesMesh, FloatBuffer) - Static method in class org.lwjgl.util.par.ParShapes
Takes a pointer to 6 floats and sets them to min xyz, max xyz.
par_shapes_compute_normals(ParShapesMesh) - Static method in class org.lwjgl.util.par.ParShapes
Computes smooth normals by averaging adjacent facet normals.
par_shapes_create_cube() - Static method in class org.lwjgl.util.par.ParShapes
Generates points for a cube that fits in the unit sphere.
par_shapes_create_cylinder(int, int) - Static method in class org.lwjgl.util.par.ParShapes
Creates a cylinder that sits on the Z=0 plane using the given tessellation levels across the UV domain.
par_shapes_create_disk(float, int, float[], float[]) - Static method in class org.lwjgl.util.par.ParShapes
Array version of: create_disk
par_shapes_create_disk(float, int, FloatBuffer, FloatBuffer) - Static method in class org.lwjgl.util.par.ParShapes
Generates an orientable disk shape in 3-space.
par_shapes_create_dodecahedron() - Static method in class org.lwjgl.util.par.ParShapes
Generates points for a 12-sided polyhedron that fits in the unit sphere.
par_shapes_create_empty() - Static method in class org.lwjgl.util.par.ParShapes
Creates an empty shape.
par_shapes_create_hemisphere(int, int) - Static method in class org.lwjgl.util.par.ParShapes
Creates a hemisphere mesh.
par_shapes_create_icosahedron() - Static method in class org.lwjgl.util.par.ParShapes
Generates points for a 20-sided polyhedron that fits in the unit sphere.
par_shapes_create_klein_bottle(int, int) - Static method in class org.lwjgl.util.par.ParShapes
Creates a klein bottle mesh.
par_shapes_create_lsystem(CharSequence, int, int) - Static method in class org.lwjgl.util.par.ParShapes
Creates trees or vegetation by executing a recursive turtle graphics program.
par_shapes_create_lsystem(ByteBuffer, int, int) - Static method in class org.lwjgl.util.par.ParShapes
Creates trees or vegetation by executing a recursive turtle graphics program.
par_shapes_create_octahedron() - Static method in class org.lwjgl.util.par.ParShapes
Generates points for an 8-sided polyhedron that fits in the unit sphere.
par_shapes_create_parametric_sphere(int, int) - Static method in class org.lwjgl.util.par.ParShapes
Creates a sphere with texture coordinates and small triangles near the poles.
par_shapes_create_plane(int, int) - Static method in class org.lwjgl.util.par.ParShapes
Creates a plane mesh.
par_shapes_create_rock(int, int) - Static method in class org.lwjgl.util.par.ParShapes
Generates a rock shape that sits on the Y=0 plane, and sinks into it a bit.
par_shapes_create_subdivided_sphere(int) - Static method in class org.lwjgl.util.par.ParShapes
Approximates a sphere with a subdivided icosahedron, which produces a nice distribution of triangles, but no texture coordinates.
par_shapes_create_tetrahedron() - Static method in class org.lwjgl.util.par.ParShapes
Generates points for a 4-sided polyhedron that fits in the unit sphere.
par_shapes_create_torus(int, int, float) - Static method in class org.lwjgl.util.par.ParShapes
Creates a donut that sits on the Z=0 plane with the specified inner radius.
par_shapes_create_trefoil_knot(int, int, float) - Static method in class org.lwjgl.util.par.ParShapes
Creates a trefoil knot mesh.
par_shapes_export(ParShapesMesh, CharSequence) - Static method in class org.lwjgl.util.par.ParShapes
Dumps out a text file conforming to the venerable OBJ format.
par_shapes_export(ParShapesMesh, ByteBuffer) - Static method in class org.lwjgl.util.par.ParShapes
Dumps out a text file conforming to the venerable OBJ format.
par_shapes_free_mesh(ParShapesMesh) - Static method in class org.lwjgl.util.par.ParShapes
Frees the specified ParShapesMesh structure.
par_shapes_invert(ParShapesMesh, int, int) - Static method in class org.lwjgl.util.par.ParShapes
Reverses the winding of a run of faces.
par_shapes_merge(ParShapesMesh, ParShapesMesh) - Static method in class org.lwjgl.util.par.ParShapes
Merges two shapes.
par_shapes_merge_and_free(ParShapesMesh, ParShapesMesh) - Static method in class org.lwjgl.util.par.ParShapes
Merges two shapes and frees the source shape.
par_shapes_remove_degenerate(ParShapesMesh, float) - Static method in class org.lwjgl.util.par.ParShapes
Removes all triangles whose area is less than minarea.
par_shapes_rotate(ParShapesMesh, float, float[]) - Static method in class org.lwjgl.util.par.ParShapes
Array version of: rotate
par_shapes_rotate(ParShapesMesh, float, FloatBuffer) - Static method in class org.lwjgl.util.par.ParShapes
Rotates the specified mesh.
par_shapes_scale(ParShapesMesh, float, float, float) - Static method in class org.lwjgl.util.par.ParShapes
Scales the specified mesh.
par_shapes_translate(ParShapesMesh, float, float, float) - Static method in class org.lwjgl.util.par.ParShapes
Translates the specified mesh.
par_shapes_unweld(ParShapesMesh, boolean) - Static method in class org.lwjgl.util.par.ParShapes
Dereferences the entire index buffer and replaces the point list.
par_shapes_weld(ParShapesMesh, float, short[]) - Static method in class org.lwjgl.util.par.ParShapes
Array version of: weld
par_shapes_weld(ParShapesMesh, float, ShortBuffer) - Static method in class org.lwjgl.util.par.ParShapes
Merges colocated verts, builds a new index buffer, and returns the optimized mesh.
ParShapes - Class in org.lwjgl.util.par
Bindings to par_shapes.h, a single-file, zero-dependency, C99 library that can generate simple shapes and perform basic operations on them.
ParShapesMesh - Class in org.lwjgl.util.par
The par_shapes.h mesh structure.
ParShapesMesh(ByteBuffer) - Constructor for class org.lwjgl.util.par.ParShapesMesh
Creates a ParShapesMesh instance at the current position of the specified ByteBuffer container.
ParShapesMesh.Buffer - Class in org.lwjgl.util.par
An array of ParShapesMesh structs.
points(int) - Method in class org.lwjgl.util.par.ParShapesMesh.Buffer
Returns a FloatBuffer view of the data pointed to by the points field.
points(int) - Method in class org.lwjgl.util.par.ParShapesMesh
Returns a FloatBuffer view of the data pointed to by the points field.

S

sizeof() - Method in class org.lwjgl.util.par.ParShapesMesh.Buffer
 
sizeof() - Method in class org.lwjgl.util.par.ParShapesMesh
 
SIZEOF - Static variable in class org.lwjgl.util.par.ParShapesMesh
The struct size in bytes.

T

tcoords(int) - Method in class org.lwjgl.util.par.ParShapesMesh.Buffer
Returns a FloatBuffer view of the data pointed to by the tcoords field.
tcoords(int) - Method in class org.lwjgl.util.par.ParShapesMesh
Returns a FloatBuffer view of the data pointed to by the tcoords field.
triangles(int) - Method in class org.lwjgl.util.par.ParShapesMesh.Buffer
Returns a ShortBuffer view of the data pointed to by the triangles field.
triangles(int) - Method in class org.lwjgl.util.par.ParShapesMesh
Returns a ShortBuffer view of the data pointed to by the triangles field.
B C N O P S T