Sign multipliers for x and y components of the first cylinder vertex and its height (s1).
Sign multipliers for x and y components of the second cylinder vertex and its height (s2).
Half-height of the first cylinder.
Half-height of the second cylinder.
Scalar offset along the common normal.
Additional scalar shift in the coordinate system.
Angle (in radians) between the projected axes of the two cylinders in 2D.
The transformed 2D coordinates corresponding to the input vertex pair.
Applies a 2D geometric transformation based on the spatial relationship between two cylinders.
This function computes the transformed 2D coordinates (
v1,v2) for a given vertex pair, factoring in the relative cylinder heights (s1,s2), offsets (b,c), and anglealpha. The result is used to simulate the projection of 3D geometry into a 2D plane for collision analysis.