D
D
Dmitry Petrov2015-03-18 14:49:56
JavaScript
Dmitry Petrov, 2015-03-18 14:49:56

How to correctly display edges in Canvas?

I have an orthogonal projection of a cube in canvas and now it is drawn using lines. The lines go from vertex to vertex in a certain sequence. But it seems to me that this is somehow not universal and I wanted to know if there is a universal way to display faces even if it's not a cube, but for example a tetrahedron?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
G
GreatRash, 2015-03-18
@krutoo

From such a tutorial I have in my bookmarks.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question