learning-threejs
learning-threejs copied to clipboard
Update call to width and height of planeGeometry
Chapter-02: planeGeometry.width
and planeGeometry.height
return undefined
as of r69 thus resulting in NaN
in cube.position.x
and cube.position.z
Fixed to planeGeometry.parameters.width
and planeGeometry.parameters.height