Lines Matching refs:corners
828 Vec2 corners[4] =
846 renderTriangle(corners[(0+quadNdx) % 4] + center,
847 corners[(1+quadNdx) % 4] + center,
848 corners[(2+quadNdx) % 4] + center,
853 renderTriangle(corners[(3+quadNdx) % 4] + center,
854 corners[(2+quadNdx) % 4] + center,
855 corners[(0+quadNdx) % 4] + center,
860 renderTriangle(corners[(0+quadNdx) % 4] + center,
861 corners[(2+quadNdx) % 4] + center,
862 corners[(3+quadNdx) % 4] + center,
870 unicoloredRegions.push_back(QuadCorners((center + corners[0]*unicolorRegionScale),
871 (center + corners[1]*unicolorRegionScale),
872 (center + corners[2]*unicolorRegionScale),
873 (center + corners[3]*unicolorRegionScale)));
904 Vec2 corners[4] =
912 renderTriangle(corners[(0+quadSubAngleNdx) % 4],
913 corners[(1+quadSubAngleNdx) % 4],
914 corners[(2+quadSubAngleNdx) % 4],
919 renderTriangle(corners[(3+quadSubAngleNdx) % 4],
920 corners[(2+quadSubAngleNdx) % 4],
921 corners[(0+quadSubAngleNdx) % 4],
926 renderTriangle(corners[(0+quadSubAngleNdx) % 4],
927 corners[(2+quadSubAngleNdx) % 4],
928 corners[(3+quadSubAngleNdx) % 4],
933 unicoloredRegions.push_back(QuadCorners((corners[0]*unicolorRegionScale),
934 (corners[1]*unicolorRegionScale),
935 (corners[2]*unicolorRegionScale),
936 (corners[3]*unicolorRegionScale)));
944 Vec2 corners[4] =
952 renderTriangle(corners[(0+quadSubAngleNdx) % 4],
953 corners[(1+quadSubAngleNdx) % 4],
954 corners[(2+quadSubAngleNdx) % 4],
959 renderTriangle(corners[(3+quadSubAngleNdx) % 4],
960 corners[(2+quadSubAngleNdx) % 4],
961 corners[(0+quadSubAngleNdx) % 4],
966 renderTriangle(corners[(0+quadSubAngleNdx) % 4],
967 corners[(2+quadSubAngleNdx) % 4],
968 corners[(3+quadSubAngleNdx) % 4],
972 unicoloredRegions.push_back(QuadCorners(corners[0], corners[1], corners[2], corners[3]));