Skip to content

Commit

Permalink
JSDocs update - the device is non-optional parameter to the Mesh cons…
Browse files Browse the repository at this point in the history
…tructor (#5756)

Co-authored-by: Martin Valigursky <mvaligursky@snapchat.com>
  • Loading branch information
mvaligursky and Martin Valigursky committed Oct 16, 2023
1 parent 6ade569 commit efdf9d0
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/scene/mesh.js
Original file line number Diff line number Diff line change
Expand Up @@ -172,9 +172,8 @@ class Mesh extends RefCountedObject {
/**
* Create a new Mesh instance.
*
* @param {import('../platform/graphics/graphics-device.js').GraphicsDevice} [graphicsDevice] -
* The graphics device used to manage this mesh. If it is not provided, a device is obtained
* from the {@link Application}.
* @param {import('../platform/graphics/graphics-device.js').GraphicsDevice} graphicsDevice -
* The graphics device used to manage this mesh.
*/
constructor(graphicsDevice) {
super();
Expand Down

0 comments on commit efdf9d0

Please sign in to comment.