megamek.client.ui.AWT.boardview3d
Class C

java.lang.Object
  extended by megamek.client.ui.AWT.boardview3d.C

 class C
extends java.lang.Object

generic reusable 3D constants


Field Summary
(package private) static TransparencyAttributes alphaTexture
           
(package private) static boolean ANTIALIAS
           
(package private) static Color3f black
           
(package private) static Color3f blue
           
(package private) static Color3f cyan
           
(package private) static Alpha dblAlpha
           
(package private) static Alpha defAlpha
           
(package private) static LineAttributes defLine
           
(package private) static Color3f green
           
(package private) static Color3f grey10
           
(package private) static Color3f grey25
           
(package private) static Color3f grey50
           
(package private) static Color3f grey75
           
(package private) static Color3f grey90
           
(package private) static Alpha halfAlpha
           
(package private) static Color3f magenta
           
(package private) static TextureAttributes materialModulate
           
(package private) static PolygonAttributes noCull
           
(package private) static Quat4d nullRot
           
(package private) static Color3f plain
           
(package private) static Color3f red
           
(package private) static Color3f water
           
(package private) static Color3f white
           
(package private) static Color3f yellow
           
 
Method Summary
(package private) static Quat4d mkquat(double x, double y, double z, double alpha)
          Create a quaternion that describes a rotation of alpha around the given axis.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ANTIALIAS

static final boolean ANTIALIAS
See Also:
Constant Field Values

noCull

static final PolygonAttributes noCull

defLine

static final LineAttributes defLine

alphaTexture

static final TransparencyAttributes alphaTexture

materialModulate

static final TextureAttributes materialModulate

nullRot

static final Quat4d nullRot

black

static final Color3f black

white

static final Color3f white

grey90

static final Color3f grey90

grey75

static final Color3f grey75

grey50

static final Color3f grey50

grey25

static final Color3f grey25

grey10

static final Color3f grey10

red

static final Color3f red

green

static final Color3f green

blue

static final Color3f blue

cyan

static final Color3f cyan

magenta

static final Color3f magenta

yellow

static final Color3f yellow

plain

static final Color3f plain

water

static final Color3f water

defAlpha

static final Alpha defAlpha

dblAlpha

static final Alpha dblAlpha

halfAlpha

static final Alpha halfAlpha
Method Detail

mkquat

static final Quat4d mkquat(double x,
                           double y,
                           double z,
                           double alpha)
Create a quaternion that describes a rotation of alpha around the given axis. The axis must describe a unit vector.