Skip to content

Commit

Permalink
finish format
Browse files Browse the repository at this point in the history
  • Loading branch information
nevcohen committed Apr 26, 2021
1 parent 89ec1cb commit bbac20b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions cameraproject/src/elements/Camera.java
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public class Camera {
private Point3D location;

/**
* Camera direction - Vector upward of the camera
* Camera direction - vector upward of the camera
*/
private Vector vUp;
/**
Expand Down Expand Up @@ -44,9 +44,9 @@ public class Camera {
* A camera constructor, which gets location and two directions (and calculates
* the third direction), the constructor normalizes the direction vectors.
*
* @param location
* @param vUp
* @param vTo
* @param location of the camera in space
* @param vUp Vector upward of the camera
* @param vTo vector to the front of the camera
*/
public Camera(Point3D location, Vector vTo, Vector vUp) {
if (!isZero(vUp.dotProduct(vTo)))
Expand Down

0 comments on commit bbac20b

Please sign in to comment.