Trevor Baron 7 年之前
父節點
當前提交
4a0742067c
共有 2 個文件被更改,包括 15 次插入8 次删除
  1. 6 3
      src/Culling/babylon.boundingInfo.ts
  2. 9 5
      src/Tools/babylon.dds.ts

+ 6 - 3
src/Culling/babylon.boundingInfo.ts

@@ -23,7 +23,8 @@
     }
 
     /**
-     * Interface for cullable objects see https://doc.babylonjs.com/babylon101/materials#back-face-culling
+     * Interface for cullable objects 
+     * @see https://doc.babylonjs.com/babylon101/materials#back-face-culling
      */
     export interface ICullable {
         /**
@@ -167,7 +168,8 @@
         }
 
         /**
-         * Checks if a point is inside the bounding box and bounding sphere or the mesh https://doc.babylonjs.com/babylon101/intersect_collisions_-_mesh
+         * Checks if a point is inside the bounding box and bounding sphere or the mesh 
+         * @see https://doc.babylonjs.com/babylon101/intersect_collisions_-_mesh
          * @param point the point to check intersection with
          * @returns if the point intersects
          */
@@ -189,8 +191,9 @@
 
         /**
          * Checks if another bounding info intersects the bounding box and bounding sphere or the mesh
+         * @see https://doc.babylonjs.com/babylon101/intersect_collisions_-_mesh
          * @param boundingInfo the bounding info to check intersection with
-         * @param precise if the intersection should be done using OBB see https://doc.babylonjs.com/babylon101/intersect_collisions_-_mesh
+         * @param precise if the intersection should be done using OBB
          * @returns if the bounding info intersects
          */
         public intersects(boundingInfo: BoundingInfo, precise: boolean): boolean {

+ 9 - 5
src/Tools/babylon.dds.ts

@@ -88,7 +88,7 @@
 
     /**
      * Direct draw surface info
-     * See https://docs.microsoft.com/en-us/windows/desktop/direct3ddds/dx-graphics-dds-pguide
+     * @see https://docs.microsoft.com/en-us/windows/desktop/direct3ddds/dx-graphics-dds-pguide
      */
     export interface DDSInfo {
         /**
@@ -100,11 +100,13 @@
          */
         height: number;
         /**
-         * Number of Mipmaps for the texture, https://en.wikipedia.org/wiki/Mipmap
+         * Number of Mipmaps for the texture
+         * @see https://en.wikipedia.org/wiki/Mipmap
          */
         mipmapCount: number;
         /**
-         * If the textures format is a known fourCC format, https://www.fourcc.org/
+         * If the textures format is a known fourCC format
+         * @see https://www.fourcc.org/
          */
         isFourCC: boolean;
         /**
@@ -116,7 +118,8 @@
          */
         isLuminance: boolean;
         /**
-         * If this is a cube texture, See https://docs.microsoft.com/en-us/windows/desktop/direct3ddds/dds-file-layout-for-cubic-environment-maps
+         * If this is a cube texture
+         * @see https://docs.microsoft.com/en-us/windows/desktop/direct3ddds/dds-file-layout-for-cubic-environment-maps
          */
         isCube: boolean;
         /**
@@ -124,7 +127,8 @@
          */
         isCompressed: boolean;
         /**
-         * The dxgiFormat of the texture, https://docs.microsoft.com/en-us/windows/desktop/api/dxgiformat/ne-dxgiformat-dxgi_format
+         * The dxgiFormat of the texture
+         * @see https://docs.microsoft.com/en-us/windows/desktop/api/dxgiformat/ne-dxgiformat-dxgi_format
          */
         dxgiFormat: number;
         /**