Skip to content

anim-format (runtime format) / cardInFront

Function: cardInFront() ​

ts
function cardInFront(
   H, 
   ox, 
   oy, 
   size
): boolean;

the 4 points a card is checked at: size around its turning point (all must be in front of the eye to draw it)

Parameters ​

ParameterType
Hreadonly number[]
oxnumber
oynumber
sizenumber

Returns ​

boolean

HereSplash — 2D animation for the web