浏览代码

link and fixes

Andrew V Butt Sr 5 年之前
父节点
当前提交
7a3982c77f
共有 2 个文件被更改,包括 3 次插入1 次删除
  1. 2 1
      src/Meshes/Builders/capsuleBuilder.ts
  2. 1 0
      src/Meshes/meshBuilder.ts

+ 2 - 1
src/Meshes/Builders/capsuleBuilder.ts

@@ -1,7 +1,8 @@
 import { VertexData } from "../mesh.vertexData";
 import { Vector2, Vector3 } from "../../Maths/math.vector";
 import { Mesh, _CreationDataStorage } from "../mesh";
-    /** based off of https://github.com/maximeq/three-js-capsule-geometry/blob/master/src/CapsuleBufferGeometry.js
+    /**
+     * Scripts based off of https://github.com/maximeq/three-js-capsule-geometry/blob/master/src/CapsuleBufferGeometry.js
      * @param options the constructors options used to shape the mesh.
      * @returns the capsule VertexData
      * @see https://doc.babylonjs.com/how_to/capsule_shape

+ 1 - 0
src/Meshes/meshBuilder.ts

@@ -548,6 +548,7 @@ export class MeshBuilder {
     }
 
     /**
+     * Creates a Capsule Mesh
      * @param name defines the name of the mesh.
      * @param options the constructors options used to shape the mesh.
      * @param scene defines the scene the mesh is scoped to.