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

Function CheckX

jni/stasm/shape17.cpp:283–294  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

281}
282
283static void CheckX( // check that the point "left" is leftwards of the point "right"
284 const Shape& shape, // in
285 int left, // in
286 int right) // in
287{
288 if (PointUsed(shape, left) &&
289 PointUsed(shape, right) &&
290 shape(right, IX) < shape(left, IX))
291 {
292 Err("shape17 point %d is to the left of point %d", right, left);
293 }
294}
295
296static void CheckY( // check that the point "bot" is below the point "top"
297 const Shape& shape, // in

Callers 1

SanityCheckShape17Function · 0.85

Calls 2

PointUsedFunction · 0.85
ErrFunction · 0.85

Tested by

no test coverage detected