Sorry to post such a basic JS and browser question BUT here goes:
Given a plane buffer object with these dimensions:
let numHVerts = geometry.heightSegments + 1;
etc. for numWVerts
let numVerts = numHVerts * numWVerts;
output of console.log(numVerts) is NaN.
I understand what I need is the value of the object numVerts but I have burned up the Internet looking for helpful way around my stupidly simple problem.
Can anyone point me to a solution? Thanks a million!