Wah hebat, bisa notice salahnya di sana.
Hasilnya pake method itu cm akan jd kongruen.
jd, mari diulang:
How to subdivide regular pentagon into smaller regular pentagons?
We know it's a trivial matter to subdivide equilateral triangle into '4' smaller equilateral triangles.
It's just a matter of forming edges between each center pts of all the edges.
Aplikasi dari subdivision of triangles: buat subdivide icosahedron
void subdivide(float *v1, float *v2, float *v3)
{
GLfloat v12[3], v23[3], v31[3];
GLint i;
for (i = 0; i < 3; i++) {
v12[i] = v1[i]+v2[i];
v23[i] = v2[i]+v3[i];
v31[i] = v3[i]+v1[i];
}
normalize(v12);
normalize(v23);
normalize(v31);
drawtriangle(v1, v12, v31);
drawtriangle(v2, v23, v12);
drawtriangle(v3, v31, v23);
drawtriangle(v12, v23, v31);
}
Point pertanyaan: cari cara termudah buat subdivide dodecahedron tanpa dissamble pentagons jadi triangles.