446 B
446 B
Function: clipSegmentToLine()
clipSegmentToLine(
vOut,vIn,normal,offset,vertexIndexA):number
Clipping for contact manifolds. Sutherland-Hodgman clipping.
Parameters
• vOut: ClipVertex[]
• vIn: ClipVertex[]
• normal: Vec2Value
• offset: number
• vertexIndexA: number
Returns
number