Browse Source

added PG for billboard testing

David Catuhe 8 năm trước cách đây
mục cha
commit
a2aeac1982
3 tập tin đã thay đổi với 8815 bổ sung8815 xóa
  1. 4407 4407
      dist/preview release/babylon.d.ts
  2. 4407 4407
      dist/preview release/babylon.module.d.ts
  3. 1 1
      src/Mesh/babylon.abstractMesh.ts

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 4407 - 4407
dist/preview release/babylon.d.ts


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 4407 - 4407
dist/preview release/babylon.module.d.ts


+ 1 - 1
src/Mesh/babylon.abstractMesh.ts

@@ -874,7 +874,7 @@
                 this.parent.getWorldMatrix().multiplyToRef(this._meshToBoneReferal.getWorldMatrix(), completeMeshReferalMatrix);
             }
 
-            // Billboarding
+            // Billboarding (testing PG:http://www.babylonjs-playground.com/#UJEIL#13)
             if (this.billboardMode !== AbstractMesh.BILLBOARDMODE_NONE && this.getScene().activeCamera) {
                 if ((this.billboardMode & AbstractMesh.BILLBOARDMODE_ALL) !== AbstractMesh.BILLBOARDMODE_ALL) {
                     // Need to decompose each rotation here