Skip to content

Commit

Permalink
corrected the comments of setPosition functions
Browse files Browse the repository at this point in the history
  • Loading branch information
Manticore-007 authored and Basssiiie committed Nov 14, 2023
1 parent ee55bf3 commit aafa105
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/services/vehicleEditor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -130,23 +130,23 @@ export function setTertiaryColour(vehicles: VehicleSpan[], colour: Colour): void
}

/**
* Sets the primary colour for this vehicle.
* Sets the x position for this vehicle.
*/
export function setPositionX(vehicles: VehicleSpan[], x: number): void
{
updateValue(vehicles, xPosition, x);
}

/**
* Sets the secondary colour for this vehicle.
* Sets the y position for this vehicle.
*/
export function setPositionY(vehicles: VehicleSpan[], y: number): void
{
updateValue(vehicles, yPosition, y);
}

/**
* Sets the tertiary colour for this vehicle.
* Sets the z position for this vehicle.
*/
export function setPositionZ(vehicles: VehicleSpan[], z: number): void
{
Expand Down

0 comments on commit aafa105

Please sign in to comment.