Jelajahi Sumber

lint and comments

Andrew V Butt Sr 5 tahun lalu
induk
melakukan
5ef1be92f4
2 mengubah file dengan 3 tambahan dan 1 penghapusan
  1. 3 0
      src/Meshes/Builders/capsuleBuilder.ts
  2. 0 1
      src/Meshes/mesh.vertexData.ts

+ 3 - 0
src/Meshes/Builders/capsuleBuilder.ts

@@ -273,6 +273,7 @@ export interface ICreateCapsuleOptions{
 }
 
 /**
+ * Creates a capsule or a pill 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.
@@ -290,6 +291,8 @@ export class CapsuleBuilder {
      * Creates a capsule or a pill mesh
      * @param name defines the name of the mesh
      * @param options The constructors options.
+     * @param scene The scene the mesh is scoped to.
+     * @returns Capsule Mesh
      */
     public static CreateCapsule(name: string, options: ICreateCapsuleOptions = {
             orientation : Vector3.Up(),

+ 0 - 1
src/Meshes/mesh.vertexData.ts

@@ -1047,7 +1047,6 @@ export class VertexData {
     /**
      * Creates the VertexData for a Capsule, inspired from https://github.com/maximeq/three-js-capsule-geometry/blob/master/src/CapsuleBufferGeometry.js
      * @param options an object used to set the following optional parameters for the capsule, required but can be empty
-     * type provided types are:
      * @returns the VertexData of the Capsule
      */
     public static CreateCapsule(options: ICreateCapsuleOptions = {