`altizure-gl-engine` is a web-based 3D graphics engine. This is the 2nd version of it. It provides interactive 3D contents for [Altizure](https://www.altizure.com).

# How do I import?

* Setup
    ```
    npm install altizure-gl-engine
    ```

# How do I develop?

* Install `yarn (v1.12.1)`, `nodejs (v10.15.3)`

## build

```
yarn
yarn build
```

Related dependencies: babel-core babel-cli babel-eslint babel-plugin-add-module-exports babel-plugin-transform-es2015-modules-umd babel-preset-env babel-preset-es2015.


## Lint
```
yarn lint
```

And add this to your vscode settings:
```
{
  "editor.tabSize": 2,
  "eslint.autoFixOnSave": true
}
```

Related dependencies: eslint eslint-config-standard eslint-plugin-import eslint-plugin-node eslint-plugin-promise eslint-plugin-standard

## Test
Write/run tests for code sustanability.

* Intsall test related deps (if not in package.json).
    ```
    yarn add -D jest babel-jest regenerator-runtime
    ```

* write test scripts under `./test/`. Reference [Jest](https://facebook.github.io/jest/)

* run `yarn test` to obtain test results.


# Who do I talk to? #

* [Altizure team](mailto:developers@altizure.com)
* [Dr. Jingbo Liu](mailto:jingbo@connect.ust.hk)
