MCPcopy Create free account
hub / github.com/doldecomp/mkdd / getBrosPointNumber

Method getBrosPointNumber

src/Kaneshige/CenterLine.cpp:76–94  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74}
75
76int CLPoint::getBrosPointNumber()
77{
78 int cnt = 0;
79 int prevPointCnt = getPrevPointNumber();
80
81 for (int i = 0; i < prevPointCnt; i++)
82 {
83 CLPoint *prev = getPrevPoint(i);
84 int nextCnt = prev->getNextPointNumber();
85 for (int j = 0; j < nextCnt; j++)
86 {
87 if (prev->getNextPoint(j) != this)
88 {
89 cnt++;
90 }
91 }
92 }
93 return cnt;
94}
95
96CLPoint *CLPoint::getBrosPoint(int cnt)
97{

Callers 1

GetBrosTargetMethod · 0.80

Calls 2

getNextPointNumberMethod · 0.80
getNextPointMethod · 0.80

Tested by

no test coverage detected