UNPKG

cannondice

Version:

3D-rendered dice for modern browsers with Cannon.js physics. Based on Teal's excellent 3D dice javascript component

56 lines 1.21 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var DiceConsts = /** @class */ (function () { function DiceConsts() { } DiceConsts.D4_LABELS = ['', '0,0,0', '2,4,3', '1,3,4', '2,1,4', '1,2,3']; DiceConsts.KNOWN_DICE = [4, 6, 8, 10, 12, 20, 100]; DiceConsts.DISCRETE_LABELS = [ ' ', '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12', '13', '14', '15', '16', '17', '18', '19', '20' ]; DiceConsts.BY_TEN_LABELS = [ ' ', '00', '10', '20', '30', '40', '50', '60', '70', '80', '90' ]; DiceConsts.frameRate = 1 / 60; DiceConsts.spotlightColor = 0xefdfd5; DiceConsts.selectorBackColors = { color: 0x404040, shininess: 0, emissive: 0x858787 }; DiceConsts.deskColor = 0xdfdfdf; return DiceConsts; }()); exports.DiceConsts = DiceConsts; //# sourceMappingURL=diceconsts.js.map