Skip to content

Commit

Permalink
added set method
Browse files Browse the repository at this point in the history
  • Loading branch information
jvanja committed Jun 23, 2022
1 parent 0d0ea66 commit f9357fd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Vector3D.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,5 +78,7 @@ export class Vector3D {
this.w *= s;
}

public set(X: number, Y: number, Z: number) { this.x = X; this.y = Y; this.z = Z; }

}

0 comments on commit f9357fd

Please sign in to comment.