mirror of
https://github.com/xuxiaobo-bobo/boda_jsEnv.git
synced 2025-04-20 03:19:56 +08:00
16 lines
538 B
JavaScript
16 lines
538 B
JavaScript
// WebGLVertexArrayObject对象
|
|
|
|
bodaEnv.memory.globlProtoObj["WebGLVertexArrayObject"] = function WebGLVertexArrayObject() {
|
|
let arg = arguments[0];
|
|
if (arg != 'bobo') {
|
|
bodaEnv.toolsFunc.console_copy('WebGLVertexArrayObject 实例化对象 --->', bodaEnv.toolsFunc.stringify_bo(arguments, function (k, v) {
|
|
if (v == window) {
|
|
return 'window';
|
|
} else {
|
|
return v;
|
|
}
|
|
}));
|
|
}
|
|
;
|
|
};
|
|
bodaEnv.toolsFunc.safeProto(bodaEnv.memory.globlProtoObj["WebGLVertexArrayObject"], "WebGLVertexArrayObject"); |