The THREE library changes the Math module o MathUtils. So trying to do Math.degToRad gives an undefined function error. Fix is to replace Math.degToRad to MathUtils.degToRad. Signed-off-by: Juan D Polanco Avalos <juan.polanco.avalos@intel.com> |
||
|---|---|---|
| .. | ||
| script.js | ||