Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit badd1f0

Browse files
committedJan 17, 2018
Housekeeping
1 parent a332f6f commit badd1f0

File tree

4 files changed

+34
-8
lines changed

4 files changed

+34
-8
lines changed
 

‎MAVGCL/src/com/comino/flight/ui/widgets/view3D/View3DWidget.java

-4
Original file line numberDiff line numberDiff line change
@@ -46,19 +46,15 @@
4646

4747
import javafx.animation.KeyFrame;
4848
import javafx.animation.Timeline;
49-
import javafx.geometry.Point3D;
5049
import javafx.scene.AmbientLight;
5150
import javafx.scene.DepthTest;
5251
import javafx.scene.Group;
5352
import javafx.scene.SceneAntialiasing;
5453
import javafx.scene.SubScene;
55-
import javafx.scene.effect.BoxBlur;
56-
import javafx.scene.effect.ColorAdjust;
5754
import javafx.scene.paint.Color;
5855
import javafx.scene.paint.PhongMaterial;
5956
import javafx.scene.shape.Box;
6057
import javafx.scene.text.Text;
61-
import javafx.scene.transform.Rotate;
6258
import javafx.util.Duration;
6359

6460
public class View3DWidget extends SubScene {

‎MAVGCL/src/com/comino/flight/ui/widgets/view3D/objects/Camera.java

-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@
4141
import javafx.scene.Node;
4242
import javafx.scene.PerspectiveCamera;
4343
import javafx.scene.SubScene;
44-
import javafx.scene.transform.Rotate;
4544

4645
public class Camera extends Xform {
4746

‎MAVGCL/src/com/comino/flight/ui/widgets/view3D/objects/MapGroup.java

-3
Original file line numberDiff line numberDiff line change
@@ -55,15 +55,12 @@ public class MapGroup extends Xform {
5555

5656
private final PhongMaterial mapMaterial = new PhongMaterial();
5757

58-
private DataModel model = null;
5958
private Timeline maptimer = null;
6059

6160
public MapGroup(DataModel model) {
6261

6362
super();
6463

65-
this.model = model;
66-
6764
mapMaterial.setDiffuseColor(Color.INDIANRED);
6865

6966
maptimer = new Timeline(new KeyFrame(Duration.millis(250), ae -> {

‎MAVGCL/src/com/comino/flight/ui/widgets/view3D/objects/Target.java

+34
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,37 @@
1+
/****************************************************************************
2+
*
3+
* Copyright (c) 2017,2018 Eike Mansfeld ecm@gmx.de.
4+
* All rights reserved.
5+
*
6+
* Redistribution and use in source and binary forms, with or without
7+
* modification, are permitted provided that the following conditions
8+
* are met:
9+
*
10+
* 1. Redistributions of source code must retain the above copyright
11+
* notice, this list of conditions and the following disclaimer.
12+
* 2. Redistributions in binary form must reproduce the above copyright
13+
* notice, this list of conditions and the following disclaimer in
14+
* the documentation and/or other materials provided with the
15+
* distribution.
16+
* 3. Neither the name of the copyright holder nor the names of its
17+
* contributors may be used to endorse or promote products derived
18+
* from this software without specific prior written permission.
19+
*
20+
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
21+
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
22+
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
23+
* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
24+
* COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
25+
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
26+
* BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
27+
* OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
28+
* AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
29+
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
30+
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
31+
* POSSIBILITY OF SUCH DAMAGE.
32+
*
33+
****************************************************************************/
34+
135
package com.comino.flight.ui.widgets.view3D.objects;
236

337
import com.comino.flight.ui.widgets.view3D.utils.Xform;

0 commit comments

Comments
 (0)
Please sign in to comment.