Add todo.

This commit is contained in:
Viktor Kovacs 2021-05-24 20:19:01 +02:00
parent 38cde4b11f
commit 6613cd96cd

View File

@ -6,6 +6,8 @@ OV.FinalizeModel = function (model, getDefaultMaterial)
{
function AddAverageNormal (mesh, triangle, vertexIndex, triangleNormals, vertexToTriangles)
{
// TODO: do not calculate the same normal multiple times
let averageNormal = new OV.Coord3D (0.0, 0.0, 0.0);
let averageCount = 0;