2024-12-20 15:08:27 +03:30

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