Home

frame-hw2.mjs

Summary.

A change of frame using gl-matrix.

To use ES6 modules in nodejs (version ≥ 13):

  1. file extension should be ".mjs"
  2. add {"type": "module",} to package.json (located in current or parent directory)
  3. should be used ES6 module syntax: import and export
 Usage:
 - npm init
 - npm install gl-matrix
 - node frame-hw2.mjs
Since:
  • 03/02/2023
Author:
  • Paulo Roma
Source:
See: