yanlong.yang

Results 16 issues of yanlong.yang

Thank you very much for learning,I hope you will continue to update!

![Mar-27-2020 17-36-37](https://user-images.githubusercontent.com/10626549/77742844-162e8c80-7052-11ea-968f-f4a61b7fc049.gif) 问题依然存在,当移动地图或者缩放地图的时候,每一个热力点都会疯狂的抖动 _Originally posted by @Davidyanlong in https://github.com/antvis/L7/issues/263#issuecomment-604907635_

```javascript Function.prototype.mybind = function(context, ...args) { let fun = this; function bound(...args2) { //如题,这句话不理解是什么意思?什么情况下 this instanceof bound ==true let self = this instanceof bound ? this : context; return fun.apply(self,...

1. 代码中有一地方应该是写错了 ```javascript // return new Promise((resolve, reject) => { return new MyPromise((resolve,reject)=>{ callback = data => { resolve(data); }; }); ``` 2. 我对您的代码做了一些完善,自己测试么有问题,完善带代码如下: ```javascript export function MyPromise(executer) { this.state...

个人觉得作者提供的方法不严谨,如果数据是如下格式将会报错 ```javascript //通过逗号分隔将会报错 var data = JSON.stringify({"a":"1,1",b:2}) ``` 我自己也考虑了一下实现,当然也不是特别严谨,但是杜绝了上门的问题 ```javascript function parseJSON(txt) { let delFun = (newObj, items) => { Object.keys(items).forEach(key => { if (typeof items[key] !== "function") { if...

`{"data":{"list":[{"format":"2","length":1968,"name":"fff.png","ok":true,"size":"640x200","standard":false,"url":"https://img.alicdn.com/simba/img/TB1gsPeUCzqK1RjSZPxwu34tVXa.png"}]},"info":{"disableTime":false,"lockSla":false,"ok":true}}` 导入这段json,也许数据中包括length,会产生1968个数据

如题 例如:https://webgpu.github.io/webgpu-samples/?sample=helloTriangleMSAA

feature

## Bug描述 这里的注释顺序是nx, px, ,py, ny, nz, pz ![f45506e6f0938e6f360a31781775dac](https://github.com/Orillusion/orillusion/assets/10626549/77f66637-336d-4c23-9cb0-e36098270d2a) 正确的顺序应该是px, nx, py, ny, pz, nz ## Bug复现流程 ![ef5a0978f64ea4f1238460e038ac618](https://github.com/Orillusion/orillusion/assets/10626549/f78d2594-aab4-4c2a-a9d7-4b47ac37b755) ## 期待的结果 正确的呈现天空盒 ## 报错截图 如果可以,提供发生错误的截图 ## 测试引擎版本: v0.7.2 ## 本机系统 (请填写完整):...

bug

## Bug描述 官方案例 `Sample_BlendMode.ts`, 材质设置透明颜色,blend不起作用 ## Bug复现流程 通过以下步骤产生bug: 实现代码: ```typescript import { GUIHelp } from "@orillusion/debug/GUIHelp"; import { Scene3D, Engine3D, AtmosphericComponent, CameraUtil, HoverCameraController, View3D, Object3D, DirectLight, KelvinUtil, MeshRenderer, UnLitMaterial, PlaneGeometry,...

bug

## Describe the bug 发现这里似乎存在问题: (https://github.com/Orillusion/orillusion/blob/main/src/components/gui/core/GUICanvas.ts#L41) 我理解是要写成这样: ``` this.index = from.index; ```

bug