/Users/lyon/j4p/src/j3d/ColorConstants.java
|
1 package j3d;
2
3 /*
4 * ColorConstants.java 1.0 98/11/23
5 *
6 * Copyright (c) 1998 Sun Microsystems, Inc. All Rights Reserved.
7 *
8 * Sun grants you ("Licensee") a non-exclusive, royalty free, license to use,
9 * modify and redistribute this software in source and binary code form,
10 * provided that i) this copyright notice and license appear on all copies of
11 * the software; and ii) Licensee does not utilize the software in a manner
12 * which is disparaging to Sun.
13 *
14 * This software is provided "AS IS," without a warranty of any kind. ALL
15 * EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND WARRANTIES, INCLUDING ANY
16 * IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR
17 * NON-INFRINGEMENT, ARE HEREBY EXCLUDED. SUN AND ITS LICENSORS SHALL NOT BE
18 * LIABLE FOR ANY DAMAGES SUFFERED BY LICENSEE AS A RESULT OF USING, MODIFYING
19 * OR DISTRIBUTING THE SOFTWARE OR ITS DERIVATIVES. IN NO EVENT WILL SUN OR ITS
20 * LICENSORS BE LIABLE FOR ANY LOST REVENUE, PROFIT OR DATA, OR FOR DIRECT,
21 * INDIRECT, SPECIAL, CONSEQUENTIAL, INCIDENTAL OR PUNITIVE DAMAGES, HOWEVER
22 * CAUSED AND REGARDLESS OF THE THEORY OF LIABILITY, ARISING OUT OF THE USE OF
23 * OR INABILITY TO USE SOFTWARE, EVEN IF SUN HAS BEEN ADVISED OF THE
24 * POSSIBILITY OF SUCH DAMAGES.
25 *
26 * This software is not designed or intended for use in on-line control of
27 * aircraft, air traffic, aircraft navigation or aircraft communications; or in
28 * the design, construction, operation or maintenance of any nuclear
29 * facility. Licensee represents and warrants that it will not use or
30 * redistribute the Software for such purposes.
31 */
32
33 import javax.vecmath.Color3f;
34
35 class ColorConstants {
36 public static final Color3f red = new
37 Color3f(1.0f, 0.0f, 0.0f);
38 public static final Color3f green = new
39 Color3f(0.0f, 1.0f, 0.0f);
40 public static final Color3f blue = new
41 Color3f(0.0f, 0.0f, 1.0f);
42 public static final Color3f yellow = new
43 Color3f(1.0f, 1.0f, 0.0f);
44 public static final Color3f cyan = new
45 Color3f(0.0f, 1.0f, 1.0f);
46 public static final Color3f magenta = new
47 Color3f(1.0f, 0.0f, 1.0f);
48 public static final Color3f white = new
49 Color3f(1.0f, 1.0f, 1.0f);
50 public static final Color3f black = new
51 Color3f(0.0f, 0.0f, 0.0f);
52 }
53
54