wonder.js
Version:
18 lines (12 loc) • 647 B
JavaScript
;
var OptionService$Wonderjs = require("../../atom/OptionService.js");
var MutableSparseMapService$WonderCommonlib = require("wonder-commonlib/lib/js/src/MutableSparseMapService.js");
var getTexture = MutableSparseMapService$WonderCommonlib.get;
function unsafeGetTexture(texture, glTextureMap) {
return OptionService$Wonderjs.unsafeGet(MutableSparseMapService$WonderCommonlib.get(texture, glTextureMap));
}
var setTexture = MutableSparseMapService$WonderCommonlib.set;
exports.getTexture = getTexture;
exports.unsafeGetTexture = unsafeGetTexture;
exports.setTexture = setTexture;
/* OptionService-Wonderjs Not a pure module */