Sha256: 6877f08417e9b6c3213fe88ef3eb0d63821947519a50c883b40b0cb421b1273d

Contents?: true

Size: 1.05 KB

Versions: 4

Compression:

Stored size: 1.05 KB

Contents

(function (global, factory) {
  if (typeof define === "function" && define.amd) {
    define(["exports"], factory);
  } else if (typeof exports !== "undefined") {
    factory(exports);
  } else {
    var mod = {
      exports: {}
    };
    factory(mod.exports);
    global.constants = mod.exports;
  }
})(typeof globalThis !== "undefined" ? globalThis : typeof self !== "undefined" ? self : this, function (_exports) {
  "use strict";

  Object.defineProperty(_exports, "__esModule", {
    value: true
  });
  _exports.NodeUpdateType = _exports.NodeType = _exports.NodeShaderStage = void 0;
  var NodeShaderStage = {
    Vertex: 'vertex',
    Fragment: 'fragment'
  };
  _exports.NodeShaderStage = NodeShaderStage;
  var NodeUpdateType = {
    None: 'none',
    Frame: 'frame',
    Object: 'object'
  };
  _exports.NodeUpdateType = NodeUpdateType;
  var NodeType = {
    Boolean: 'bool',
    Integer: 'int',
    Float: 'float',
    Vector2: 'vec2',
    Vector3: 'vec3',
    Vector4: 'vec4',
    Matrix3: 'mat3',
    Matrix4: 'mat4'
  };
  _exports.NodeType = NodeType;
});

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
opal-js_wrap-three-0.1.5 lib-opal/js_wrap/three/renderers/nodes/core/constants.js
opal-js_wrap-three-0.1.4 lib-opal/js_wrap/three/renderers/nodes/core/constants.js
opal-js_wrap-three-0.1.3 lib-opal/js_wrap/three/renderers/nodes/core/constants.js
opal-js_wrap-three-0.1.2 lib-opal/js_wrap/three/renderers/nodes/core/constants.js