]> git.r.bdr.sh - rbdr/lissajous/blame_incremental - lib/components/up.js
Add a few comments
[rbdr/lissajous] / lib / components / up.js
... / ...
CommitLineData
1import { Component } from '@serpentity/serpentity';
2
3/**
4 * Stores an up vector. Intended for the camera in the scene.
5 */
6export default class Up extends Component {
7 constructor(config) {
8
9 super(config);
10
11 this.x = this.x || 0;
12 this.y = this.y || 1;
13 this.z = this.z || 0;
14 }
15};