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

Function MeanPoint

jni/stasm/landmarks.cpp:9–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7namespace stasm
8{
9double MeanPoint(
10 const Shape& shape, // in
11 int ipoint1, // in
12 int ipoint2, // in
13 int ix) // in: IX or IY
14{
15 return (shape(ipoint1, ix) + shape(ipoint2, ix)) / 2;
16}
17
18void PrevAndNextLandmarks(
19 int& prev, // out

Callers 1

CanonicalEyeMouthDistFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected