Przeglądaj źródła

Lint and better comments.

duncan law 6 lat temu
rodzic
commit
cb1ea3cc87

+ 1 - 1
src/Cameras/Inputs/BaseCameraPointersInput.ts

@@ -46,7 +46,7 @@ export abstract class BaseCameraPointersInput implements ICameraInput<Camera> {
         var engine = this.camera.getEngine();
         var previousPinchSquaredDistance = 0;
         var previousMultiTouchPanPosition: Nullable<PointerTouch> = null;
-      
+
         this.pointA = null;
         this.pointB = null;
 

+ 5 - 0
tests/unit/babylon/src/Cameras/babylon.pointerInput.tests.ts

@@ -167,6 +167,7 @@ function StubCameraInput() {
 
 /**
  * Test the things.
+ * The BaseCameraPointersInput class first.
  */
 describe('BaseCameraPointersInput', function() {
   /**
@@ -629,6 +630,10 @@ describe('BaseCameraPointersInput', function() {
   });
 });
 
+/**
+ * Test the things.
+ * The ArcRotateCameraInput class.
+ */
 describe('ArcRotateCameraInput', function() {
   /**
    * Sets the timeout of all the tests to 10 seconds.