From be276b5fa3ae85a5769d3a9fcb6397bc9aabb14e Mon Sep 17 00:00:00 2001 From: Steve Date: Fri, 18 Mar 2011 04:35:20 +0000 Subject: Adjustments --- src/tesseract/objects/blimp/Blimp.java | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'src/tesseract/objects/blimp/Blimp.java') diff --git a/src/tesseract/objects/blimp/Blimp.java b/src/tesseract/objects/blimp/Blimp.java index 9c1c16a..45785d8 100644 --- a/src/tesseract/objects/blimp/Blimp.java +++ b/src/tesseract/objects/blimp/Blimp.java @@ -152,8 +152,14 @@ public class Blimp extends RemoteObject { vectors = gi.getNormals(); //fin1 + + Appearance appearance = new Appearance(); + appearance.setColoringAttributes(new ColoringAttributes(new Color3f(.1f,.1f,.3f), + ColoringAttributes.FASTEST)); + + BlimpFin fin = new BlimpFin(1, new Vector3f(0f * my_scale, - 0f * my_scale, -.165f * my_scale), .1f * my_scale); + 0f * my_scale, -.165f * my_scale), .1f * my_scale, appearance); Transform3D rotate = new Transform3D(); rotate.rotZ(Math.PI / 2); TransformGroup tgFin = new TransformGroup(rotate); @@ -163,7 +169,7 @@ public class Blimp extends RemoteObject { //fin2 BlimpFin fin2 = new BlimpFin(1, new Vector3f(0f * my_scale, - 0f * my_scale, -.165f * my_scale), .1f * my_scale); + 0f * my_scale, -.165f * my_scale), .1f * my_scale, appearance); Transform3D rotate2 = new Transform3D(); //rotate2.rotZ(Math.PI / 2); TransformGroup tgFin2 = new TransformGroup(rotate2); -- cgit v1.2.3