feat: Latest production version with interior scene and glass
Includes room interior with floor, walls, glass you can see through, and all uncommitted production changes that were running live. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
26
bron/create fake namespace object
Normal file
26
bron/create fake namespace object
Normal file
@@ -0,0 +1,26 @@
|
||||
var getProto = Object.getPrototypeOf ? (obj) => (Object.getPrototypeOf(obj)) : (obj) => (obj.__proto__);
|
||||
var leafPrototypes;
|
||||
// create a fake namespace object
|
||||
// mode & 1: value is a module id, require it
|
||||
// mode & 2: merge all properties of value into the ns
|
||||
// mode & 4: return value when already ns object
|
||||
// mode & 16: return value when it's Promise-like
|
||||
// mode & 8|1: behave like require
|
||||
__webpack_require__.t = function(value, mode) {
|
||||
if(mode & 1) value = this(value);
|
||||
if(mode & 8) return value;
|
||||
if(typeof value === 'object' && value) {
|
||||
if((mode & 4) && value.__esModule) return value;
|
||||
if((mode & 16) && typeof value.then === 'function') return value;
|
||||
}
|
||||
var ns = Object.create(null);
|
||||
__webpack_require__.r(ns);
|
||||
var def = {};
|
||||
leafPrototypes = leafPrototypes || [null, getProto({}), getProto([]), getProto(getProto)];
|
||||
for(var current = mode & 2 && value; typeof current == 'object' && !~leafPrototypes.indexOf(current); current = getProto(current)) {
|
||||
Object.getOwnPropertyNames(current).forEach((key) => (def[key] = () => (value[key])));
|
||||
}
|
||||
def['default'] = () => (value);
|
||||
__webpack_require__.d(ns, def);
|
||||
return ns;
|
||||
};
|
||||
Reference in New Issue
Block a user