Skip to main content

expanding_polytope_algorithm

Constants

loose_edges : Float32Array

keep track of edges we need to fix after removing faces

Functions

write_face(faces, index, a, b, c)
expanding_polytope_algorithm(result, result_offset, a, b, c, d, coll1, coll2)

TODO: needs to be tested thoroughly, intended to be working with GJK

construct_normal(result_offset, edge_index, p_x, p_y, p_z)

loose_edges : Float32Array

keep track of edges we need to fix after removing faces

Kind: global constant

write_face(faces, index, a, b, c)

Kind: global function

ParamType
facesArray.<number> | Float32Array
indexnumber
aArray.<number>
bArray.<number>
cArray.<number>

expanding_polytope_algorithm(result, result_offset, a, b, c, d, coll1, coll2)

TODO: needs to be tested thoroughly, intended to be working with GJK

Kind: global function

ParamType
resultArray.<number>
result_offsetnumber
aArray.<number>
bArray.<number>
cArray.<number>
dArray.<number>
coll1AbstractShape3D
coll2AbstractShape3D

construct_normal(result_offset, edge_index, p_x, p_y, p_z)

Kind: global function

ParamType
result_offsetnumber
edge_indexnumber
p_xnumber
p_ynumber
p_znumber