UNPKG

molstar

Version:

A comprehensive macromolecular library.

39 lines 919 B
"use strict"; /** * Copyright (c) 2018 mol* contributors, licensed under MIT, See LICENSE file for more info. * * @author Alexander Rose <alexander.rose@weirdbyte.de> */ Object.defineProperty(exports, "__esModule", { value: true }); exports.PlaneCage = exports.Plane = void 0; var plane = { vertices: new Float32Array([ -0.5, 0.5, 0, 0.5, 0.5, 0, -0.5, -0.5, 0, 0.5, -0.5, 0 ]), normals: new Float32Array([ 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1 ]), indices: new Uint32Array([ 0, 2, 1, 1, 2, 3 ]) }; var planeCage = { vertices: plane.vertices, edges: new Uint32Array([0, 1, 2, 3, 3, 1, 2, 0]) }; function Plane() { return plane; } exports.Plane = Plane; function PlaneCage() { return planeCage; } exports.PlaneCage = PlaneCage; //# sourceMappingURL=plane.js.map