Skip to content

Commit

Permalink
Added missing documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
EdwardMoyse committed Sep 3, 2024
1 parent 4c9d35e commit 8e763fc
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,11 @@ export class ColorManager {
});
}
}
/**
* Change colour of object.
* @param object Object to be update
* @param color Color to set for the object.
*/
function setColorForObject(object: Object3D<Object3DEventMap>, color: any) {
if (object instanceof Mesh) {
const mesh = object as Mesh;
Expand Down

0 comments on commit 8e763fc

Please sign in to comment.