Removed a println and fixed some javadoc warnings.

main
fjc40 8 years ago
parent 47d013612a
commit ae9594f8c3

@ -583,6 +583,7 @@ public class RaceViewController extends Controller {
/** /**
* Transition from the race view to the finish view. * Transition from the race view to the finish view.
* @throws IOException Thrown if the finish scene cannot be loaded.
*/ */
private void finishRace() throws IOException { private void finishRace() throws IOException {
RaceFinishController fc = RaceFinishController fc =

@ -35,7 +35,7 @@ public class Boundary3D {
if (points.size() < 2){ if (points.size() < 2){
return; return;
} }
System.out.println(points.size());
for (int i = 0; i < points.size(); i++){ for (int i = 0; i < points.size(); i++){
if (i + 1 != points.size()){ if (i + 1 != points.size()){
addBound(points.get(i), points.get(i + 1)); addBound(points.get(i), points.get(i + 1));

@ -32,6 +32,9 @@ public class SeaSurface extends Subject3D {
/** /**
* Creates the sea surface * Creates the sea surface
* @param size size of sea noise array.
* @param freq frequency of sea noise array.
* @return The sea surface.
*/ */
private static Shape3D createSurface(int size, double freq) { private static Shape3D createSurface(int size, double freq) {
float[][] noiseArray = PerlinNoiseGenerator.createNoise(size, freq); float[][] noiseArray = PerlinNoiseGenerator.createNoise(size, freq);

@ -33,6 +33,7 @@ public class Subject3D {
/** /**
* Constructor for view subject wrapper * Constructor for view subject wrapper
* @param mesh to be rendered * @param mesh to be rendered
* @param sourceID Source ID of the subject.
*/ */
public Subject3D(Shape3D mesh, int sourceID) { public Subject3D(Shape3D mesh, int sourceID) {
this.mesh = mesh; this.mesh = mesh;

Loading…
Cancel
Save