Merge branch 'master' of https://source.jalview.org/git/jalviewjs.git
[jalviewjs.git] / src / javajs / util / P3.java
index 8a1ee29..3917159 100644 (file)
@@ -1,65 +1,65 @@
-/*\r
-   Copyright (C) 1997,1998,1999\r
-   Kenji Hiranabe, Eiwa System Management, Inc.\r
-\r
-   This program is free software.\r
-   Implemented by Kenji Hiranabe(hiranabe@esm.co.jp),\r
-   conforming to the Java(TM) 3D API specification by Sun Microsystems.\r
-\r
-   Permission to use, copy, modify, distribute and sell this software\r
-   and its documentation for any purpose is hereby granted without fee,\r
-   provided that the above copyright notice appear in all copies and\r
-   that both that copyright notice and this permission notice appear\r
-   in supporting documentation. Kenji Hiranabe and Eiwa System Management,Inc.\r
-   makes no representations about the suitability of this software for any\r
-   purpose.  It is provided "AS IS" with NO WARRANTY.\r
-*/\r
-package javajs.util;\r
-\r
-\r
-\r
-/**\r
- * A 3 element point that is represented by single precision floating point\r
- * x,y,z coordinates.\r
- * \r
- * @version specification 1.1, implementation $Revision: 1.10 $, $Date:\r
- *          2006/09/08 20:20:20 $\r
- * @author Kenji hiranabe\r
- * \r
- * additions by Bob Hanson hansonr@stolaf.edu 9/30/2012\r
- * for unique constructor and method names\r
- * for the optimization of compiled JavaScript using Java2Script\r
- * \r
- */\r
-public class P3 extends T3 {\r
-\r
-  /**\r
-   * @j2sIgnore\r
-   */\r
-  public P3() {\r
-    // ignore T3\r
-  }\r
-  \r
-  public static P3 newP(T3 t) {\r
-    P3 p = new P3();\r
-    p.x = t.x;\r
-    p.y = t.y;\r
-    p.z = t.z;\r
-    return p;\r
-  }\r
-\r
-  private static P3 unlikely;\r
-  \r
-  public static P3 getUnlikely() {\r
-    return (unlikely == null ? unlikely = new3((float) Math.PI, (float) Math.E, (float) (Math.PI * Math.E)) : unlikely);\r
-  }\r
-  \r
-  public static P3 new3(float x, float y, float z) {\r
-    P3 p = new P3();\r
-    p.x = x;\r
-    p.y = y;\r
-    p.z = z;\r
-    return p;\r
-  }\r
-\r
-}\r
+/*
+   Copyright (C) 1997,1998,1999
+   Kenji Hiranabe, Eiwa System Management, Inc.
+
+   This program is free software.
+   Implemented by Kenji Hiranabe(hiranabe@esm.co.jp),
+   conforming to the Java(TM) 3D API specification by Sun Microsystems.
+
+   Permission to use, copy, modify, distribute and sell this software
+   and its documentation for any purpose is hereby granted without fee,
+   provided that the above copyright notice appear in all copies and
+   that both that copyright notice and this permission notice appear
+   in supporting documentation. Kenji Hiranabe and Eiwa System Management,Inc.
+   makes no representations about the suitability of this software for any
+   purpose.  It is provided "AS IS" with NO WARRANTY.
+*/
+package javajs.util;
+
+
+
+/**
+ * A 3 element point that is represented by single precision floating point
+ * x,y,z coordinates.
+ * 
+ * @version specification 1.1, implementation $Revision: 1.10 $, $Date:
+ *          2006/09/08 20:20:20 $
+ * @author Kenji hiranabe
+ * 
+ * additions by Bob Hanson hansonr@stolaf.edu 9/30/2012
+ * for unique constructor and method names
+ * for the optimization of compiled JavaScript using Java2Script
+ * 
+ */
+public class P3 extends T3 {
+
+  /**
+   * @j2sIgnore
+   */
+  public P3() {
+    // ignore T3
+  }
+  
+  public static P3 newP(T3 t) {
+    P3 p = new P3();
+    p.x = t.x;
+    p.y = t.y;
+    p.z = t.z;
+    return p;
+  }
+
+  private static P3 unlikely;
+  
+  public static P3 getUnlikely() {
+    return (unlikely == null ? unlikely = new3((float) Math.PI, (float) Math.E, (float) (Math.PI * Math.E)) : unlikely);
+  }
+  
+  public static P3 new3(float x, float y, float z) {
+    P3 p = new P3();
+    p.x = x;
+    p.y = y;
+    p.z = z;
+    return p;
+  }
+
+}