📄 boltcg.java
字号:
/* * $RCSfile: BoltCG.java,v $ * * Copyright (c) 2006 Sun Microsystems, Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * - Redistribution of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * * - Redistribution in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in * the documentation and/or other materials provided with the * distribution. * * Neither the name of Sun Microsystems, Inc. or the names of * contributors may be used to endorse or promote products derived * from this software without specific prior written permission. * * This software is provided "AS IS," without a warranty of any * kind. ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND * WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT, ARE HEREBY * EXCLUDED. SUN MICROSYSTEMS, INC. ("SUN") AND ITS LICENSORS SHALL * NOT BE LIABLE FOR ANY DAMAGES SUFFERED BY LICENSEE AS A RESULT OF * USING, MODIFYING OR DISTRIBUTING THIS SOFTWARE OR ITS * DERIVATIVES. IN NO EVENT WILL SUN OR ITS LICENSORS BE LIABLE FOR * ANY LOST REVENUE, PROFIT OR DATA, OR FOR DIRECT, INDIRECT, SPECIAL, * CONSEQUENTIAL, INCIDENTAL OR PUNITIVE DAMAGES, HOWEVER CAUSED AND * REGARDLESS OF THE THEORY OF LIABILITY, ARISING OUT OF THE USE OF OR * INABILITY TO USE THIS SOFTWARE, EVEN IF SUN HAS BEEN ADVISED OF THE * POSSIBILITY OF SUCH DAMAGES. * * You acknowledge that this software is not designed, licensed or * intended for use in the design, construction, operation or * maintenance of any nuclear facility. * * $Revision: 1.1 $ * $Date: 2006/02/01 01:32:47 $ * $State: Exp $ */package org.jdesktop.j3d.examples.picking;import javax.media.j3d.*;import javax.vecmath.*;class BoltCG extends CompressedGeometry { BoltCG() { super(cgHeader, cgData) ; } private static final byte cgData[] = { 25, 0, -120, 16, -124, 64, 33, -35, 0, 67, 60, 48, -121, 90, 1, 3, 116, -62, 25, 105, -60, 60, -32, 8, 5, -58, 16, -9, -114, 32, -1, -104, 67, 16, 0, -117, -128, 97, 40, 62, -62, -128, -122, 5, 67, 48, 10, -76, -32, 21, 1, 6, 40, 10, -128, 86, -123, 24, -96, 76, 65, 74, 88, 2, -117, -80, -59, 21, 113, -118, -40, -28, 21, 110, 6, 40, 27, 64, 81, 23, -124, -7, 47, 54, 13, -3, -4, 69, 40, 25, -69, -99, -123, 64, 8, 48, 3, 64, 16, 23, 16, 97, -39, 8, -20, -125, 0, 36, 2, 1, -123, 2, 8, -120, 48, 27, 122, 91, 65, -67, 108, 18, 26, 13, -12, -35, 95, -48, 107, 63, -5, 91, -46, 12, 84, -44, -53, -120, 54, -45, -98, 115, 64, -69, 92, 126, -55, 1, 6, -80, 34, -49, -24, 53, -30, 61, -19, 9, 6, -76, 10, -115, -24, 53, 87, -54, -2, -127, 113, 68, -15, -33, 16, 97, -9, 113, -54, -30, 12, 75, 34, -48, -48, 107, 86, -32, -10, -125, 97, -42, 19, -78, 12, 0, -48, 4, 4, 68, 8, 12, -67, -69, 32, -64, 9, 0, 0, 92, 65, -121, 116, 42, 10, 13, 98, -52, -97, 16, 34, 104, 114, 75, 66, 12, -45, 11, -82, 32, -34, -74, -127, -15, 6, 74, 51, 70, -81, 32, -42, 27, 105, 13, 6, -97, 13, 111, -24, 22, -12, 22, -19, -95, 6, -49, -85, -48, 16, 107, 2, 44, -8, -125, 6, 73, -123, -97, 16, 37, 40, 68, -22, -30, 12, 58, 97, 80, -112, 104, -16, -104, -72, -125, 122, -38, 22, -12, 25, -114, -39, 124, 64, -111, -115, -112, -49, -24, 53, -34, 85, -23, 5, 6, -82, -26, 15, 104, 54, 1, -31, 62, 32, 68, -17, 100, -58, 84, 27, 33, -54, -66, -125, 55, -2, -89, 32, -119, 122, -73, -25, -36, 105, -128, 8, 53, -128, 2, 76, -71, 9, -56, -128, 30, 112, -59, -48, 96, -37, 0, 0, 0, 9, -112, 28, -117, 100, 64, 127, 58, 113, -58, 13, 96, 0, -109, 46, 70, 50, 80, 103, -88, 56, -86, 13, 96, 0, -109, 46, 67, 114, -112, 95, -74, 49, 84, 49, -74, -72, 15, 96, 2, 80, 6, 55, 80, 0, -36, 82, 0, 40, 3, 108, 1, -58, -95, -63, -84, 0, 18, 101, -56, -74, 87, 10, 56, 39, 31, -32, -43, -32, 9, 50, -28, 87, 46, -125, 28, -61, -117, -48, 107, 0, 4, -103, 114, 19, -105, -65, -98, 117, -60, 32, -63, -84, 0, 18, 101, -116, -74, 45, 1, -15, 1, -57, 0, -29, -116, 26, -64, 1, 38, 92, -116, 101, 111, 79, 124, 113, 83, -6, -68, 8, 37, -36, -83, -4, -93, -4, 109, 46, 55, 6, -81, 0, 73, -105, 33, -71, 63, -57, -40, -36, 82, 28, 26, -64, 1, 38, 92, -117, 100, -113, 71, 71, 113, -2, 13, 96, 0, -109, 46, 69, 114, 47, -41, -99, -72, -67, 6, -80, 0, 73, -107, -63, 72, -64, -113, -83, 99, 72, 53, 97, -6, 65, 57, -67, 60, -38, -26, -63, -78, 105, 11, 112, 85, 110, 101, -95, 58, -128, 16, 107, -125, 90, -60, 3, 0, 0, 1, 0, 32, 64, 67, -32, -54, -41, -103, 113, 6, -55, -92, 45, -63, 85, -71, -106, -34, -22, 0, 55, -79, -36, -28, 62, -95, -68, 97, -73, -41, -70, -122, -13, 117, -50, 94, -22, 32, 80, 21, 77, -39, 6, 0, 48, 6, 2, 10, 13, 61, 106, -104, 80, 32, -68, -125, 64, -75, 100, 17, 91, -78, 90, -67, -42, 24, 55, 27, -39, 61, 0, -56, 63, -40, -71, -95, -124, 49, 74, 37, 3, 7, -83, 118, -18, 13, -79, 30, -96, -126, 80, 77, 53, 19, -32, -47, -121, -103, 104, -122, 82, 89, -19, 56, 92, 45, -96, -73, 42, -128, 16, 109, -120, -11, 4, 18, -126, 105, -88, 126, 70, -127, -56, -24, 48, -43, -36, 20, -25, -48, -60, -115, -4, -98, -42, -31, -84, 8, -35, -13, 59, -96, -36, 11, 1, 64, 69, 65, -126, 80, -85, 10, 4, 22, -48, 97, 109, -42, -114, 71, 112, -106, -58, -51, 6, 104, 48, 82, 8, -19, -74, -36, -81, -100, -56, -122, 85, 34, -111, -37, 125, -83, 103, 65, -89, 125, -30, -15, 36, -20, -5, 81, -63, 68, 27, -17, -89, -83, 3, -63, -89, 33, -24, 66, 0, 7, 50, 45, 2, -56, 17, 6, -99, -9, -117, -60, -109, -77, -19, 122, 5, 14, 96, 110, 114, 71, -92, 117, 39, 107, 93, -50, 105, 49, 110, -75, 80, 46, -125, -68, -18, -125, 80, 60, 10, 1, -111, 6, -76, 10, 48, -96, 65, 105, 6, -120, 27, 8, 68, -77, -109, -59, 90, -64, 16, 106, -61, -12, -26, 17, 26, 10, 54, -53, 40, -88, 1, 6, -14, 124, 52, 32, -39, 13, -117, 66, 13, 63, -111, -80, -96, 65, 117, 6, 103, -11, -120, 104, 54, -49, 116, 92, 65, -102, -84, -125, 50, 12, 87, -109, 67, 64, -124, 106, -22, -22, 12, 28, -24, -48, -48, 109, 94, -22, -48, -125, 10, -96, 75, -120, 17, 39, -119, 104, 65, -92, -110, 68, 36, 27, 99, -87, -73, -96, -56, -42, -85, 18, 12, 8, 3, -22, 0, 28, 1, 120, 34, -112, -6, -81, 52, -64, 4, 24, -88, 0, 0, 14, 0, -104, 39, 32, 44, 23, -98, -125, 6, 44, 0, 0, 3, -128, 38, 22, -56, 95, 13, -25, 24, 49, 80, 0, 0, 28, 1, 48, -58, -28, -38, -113, 42, -125, 21, 0, 0, 1, -80, 19, 70, -24, 73, -46, -13, 80, -32, -59, 64, 0, 0, 108, 7, -94, -37, -127, -1, 30, 127, -125, 21, 0, 0, 1, -64, 30,
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -