Lines Matching refs:correction
123 float[] correction = {
127 // find correction vectors for corners that have moved out of bounds
129 float correctedInnerX = translatedInnerCorners[i] + correction[0];
130 float correctedInnerY = translatedInnerCorners[i + 1] + correction[1];
138 correction[0] += correctionVec[0];
139 correction[1] += correctionVec[1];
144 float correctedInnerX = translatedInnerCorners[i] + correction[0];
145 float correctedInnerY = translatedInnerCorners[i + 1] + correction[1];
153 correction[0] += correctionVec[0];
154 correction[1] += correctionVec[1];
158 // Set correction
160 float correctedInnerX = translatedInnerCorners[i] + correction[0];
161 float correctedInnerY = translatedInnerCorners[i + 1] + correction[1];
162 // update translated corners with correction vectors