Skip to content

Commit

Permalink
A comment added to getRotation method and Rotation accessor, will be …
Browse files Browse the repository at this point in the history
…incorporated into

typedoc - generated documentation
  • Loading branch information
vincentmarchetti committed Sep 25, 2024
1 parent 8b009ef commit 736f84d
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions src/RotateTransform.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,13 @@ export class RotateTransform extends Transform {

}


/**
* Returns an object with x,y,z attributes whose values are
* a counter-clockwise rotation in degrees about the fixed coordinate
* system axes.
*
* @returns object
**/
getRotation() : object {
var retVal = {};
for (const attrib of ["x","y","z"]){
Expand All @@ -18,7 +24,12 @@ export class RotateTransform extends Transform {
}
return retVal;
}


/**
* accessor Rotation is an object with x,y,z attributes whose values are
* a counter-clockwise rotation in degrees about the fixed coordinate
* system axes.
**/
get Rotation() : object { return this.getRotation(); }

};

0 comments on commit 736f84d

Please sign in to comment.