Explorar el Código

lint and comments

Andrew V Butt Sr hace 5 años
padre
commit
5ef1be92f4
Se han modificado 2 ficheros con 3 adiciones y 1 borrados
  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 name defines the name of the mesh.
  * @param options the constructors options used to shape the mesh.
  * @param options the constructors options used to shape the mesh.
  * @param scene defines the scene the mesh is scoped to.
  * @param scene defines the scene the mesh is scoped to.
@@ -290,6 +291,8 @@ export class CapsuleBuilder {
      * Creates a capsule or a pill mesh
      * Creates a capsule or a pill mesh
      * @param name defines the name of the mesh
      * @param name defines the name of the mesh
      * @param options The constructors options.
      * @param options The constructors options.
+     * @param scene The scene the mesh is scoped to.
+     * @returns Capsule Mesh
      */
      */
     public static CreateCapsule(name: string, options: ICreateCapsuleOptions = {
     public static CreateCapsule(name: string, options: ICreateCapsuleOptions = {
             orientation : Vector3.Up(),
             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
      * 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
      * @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
      * @returns the VertexData of the Capsule
      */
      */
     public static CreateCapsule(options: ICreateCapsuleOptions = {
     public static CreateCapsule(options: ICreateCapsuleOptions = {