2 Copyright (C) 1997,1998,1999
3 Kenji Hiranabe, Eiwa System Management, Inc.
5 This program is free software.
6 Implemented by Kenji Hiranabe(hiranabe@esm.co.jp),
7 conforming to the Java(TM) 3D API specification by Sun Microsystems.
9 Permission to use, copy, modify, distribute and sell this software
10 and its documentation for any purpose is hereby granted without fee,
11 provided that the above copyright notice appear in all copies and
12 that both that copyright notice and this permission notice appear
13 in supporting documentation. Kenji Hiranabe and Eiwa System Management,Inc.
14 makes no representations about the suitability of this software for any
15 purpose. It is provided "AS IS" with NO WARRANTY.
22 * A 3 element point that is represented by single precision floating point
25 * @version specification 1.1, implementation $Revision: 1.10 $, $Date:
26 * 2006/09/08 20:20:20 $
27 * @author Kenji hiranabe
29 * additions by Bob Hanson hansonr@stolaf.edu 9/30/2012
30 * for unique constructor and method names
31 * for the optimization of compiled JavaScript using Java2Script
34 public class P3 extends T3 {
40 public static P3 newP(T3 t) {
48 private static P3 unlikely;
50 public static P3 getUnlikely() {
51 return (unlikely == null ? unlikely = new3((float) Math.PI, (float) Math.E, (float) (Math.PI * Math.E)) : unlikely);
54 public static P3 new3(float x, float y, float z) {