MCPcopy Create free account
hub / github.com/KAlO2/PerfectShow / CheckY

Function CheckY

jni/stasm/shape17.cpp:296–307  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

294}
295
296static void CheckY( // check that the point "bot" is below the point "top"
297 const Shape& shape, // in
298 int top, // in
299 int bot) // in
300{
301 if (PointUsed(shape, top) &&
302 PointUsed(shape, bot) &&
303 shape(bot, IY) < shape(top, IY))
304 {
305 Err("shape17 point %d is below point %d", top, bot);
306 }
307}
308
309void SanityCheckShape17( // check that left pupil is to the left of the right pupil, etc
310 const Shape& shape17) // in

Callers 1

SanityCheckShape17Function · 0.85

Calls 2

PointUsedFunction · 0.85
ErrFunction · 0.85

Tested by

no test coverage detected