Pārlūkot izejas kodu

added PG for billboard testing

David Catuhe 8 gadi atpakaļ
vecāks
revīzija
a2aeac1982

Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 4407 - 4407
dist/preview release/babylon.d.ts


Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 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