import { Component } from '@serpentity/serpentity'; /* * EulerAngle component, stores the value of an euler * angle. * Public members: * -pitch // the rotation on the x axis * -yaw // the rotation on the y axis * -roll // the rotation on the z axis */ export default class EulerAngle extends Component { constructor(config) { super(config) this.pitch = this.pitch || 0; this.yaw = this.yaw || 0; this.roll = this.roll || 0; } };