]>
git.r.bdr.sh - rbdr/sumo/blob - lib/components/force.js
f0e460ccda510ec27c601b99970732792bc8b189
1 import { Component
} from '@serpentity/serpentity';
4 * Component that stores a force vector
6 * @extends {external:Serpentity.Component}
7 * @class ForceComponent
8 * @param {object} config a configuration object to extend.
10 export default class ForceComponent
extends Component
{
16 * The properthy that holds the x component of the vector
18 * @property {number} x
20 * @memberof AngleComponent
25 * The properthy that holds the y component of the vector
27 * @property {number} y
29 * @memberof AngleComponent
34 * The properthy that holds the z component of the vector
36 * @property {number} z
38 * @memberof AngleComponent