📄 gullcg.java
字号:
/* * $RCSfile: GullCG.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:48 $ * $State: Exp $ */package org.jdesktop.j3d.examples.picking;import javax.media.j3d.*;import javax.vecmath.*;class GullCG extends CompressedGeometry { GullCG() { super(cgHeader, cgData) ; } private static final byte cgData[] = { 25, 0, -120, 16, -58, -52, 33, -35, -128, 67, -36, 0, -127, -72, 97, 14, 64, 2, 29, 104, 4, 2, -45, 8, 125, -89, 16, 51, -116, 33, -1, -104, 71, -64, 48, -106, 31, 1, 32, -52, 2, -127, 6, 5, 5, 32, 10, -78, -128, 20, 14, 6, 40, 74, -128, 81, -43, 24, -94, 44, 1, 86, -104, 98, -96, 49, 5, 34, 112, 10, -68, -29, 21, -115, -56, 40, 8, -64, 81, -74, -128, -90, 13, 49, 71, 30, 2, -81, -68, -30, -62, 122, 56, 37, -107, 60, -109, 120, 0, 0, 26, -32, 18, 85, -128, 14, -16, 71, -13, 66, -33, 103, 127, -81, 78, -61, -106, -112, 0, 1, -32, 13, -86, -96, 4, -103, -36, 59, -23, 25, 39, 18, 11, 122, -80, 1, -34, -22, -112, -109, -80, -71, -7, -39, -40, 0, -127, 0, 0, 0, 0, 43, 97, -102, 118, 16, 83, -32, -121, -87, -32, -86, -4, 32, 121, 8, 33, -48, -100, -39, 64, 0, 0, 50, 0, -47, -9, -97, -118, 53, 75, -122, 89, -54, -10, 8, 0, 69, -98, 0, 0, 54, 3, -67, 0, 29, -17, 2, 64, 0, 5, 126, -93, -56, -31, 15, 74, -95, -128, 5, -64, 0, 3, -46, 8, 0, 36, 0, 0, 58, 93, -92, 0, 0, 30, 0, 87, 4, 0, 23, 4, 68, 36, 64, 30, -17, -25, -121, -40, 22, 13, 48, 78, -43, 73, -64, -10, 48, 51, -25, -1, -82, -65, 3, 55, -71, 41, 124, -50, -118, -64, 4, -102, 112, 0, 1, -20, 5, 98, 59, -58, -95, -87, 42, -9, -112, -99, -107, -91, -11, 127, 5, 36, -46, -112, 121, 9, -39, -17, -1, -41, 0, 0, 0, 112, 4, -121, -19, -124, -16, -44, 66, -40, 36, 116, -83, -96, -128, 7, -37, 100, -37, 121, 11, 123, -81, -106, 43, 82, 14, -85, -8, 41, -95, 67, 81, 18, 125, 15, 39, -114, -88, 63, -10, 0, -11, 5, 4, 73, -38, 13, 80, -64, 7, 64, 56, 14, -56, 108, 3, -64, 96, 5, -33, 81, 24, 11, -115, 26, -95, -104, 95, -69, -95, -112, 15, 0, -128, 40, 30, 67, -27, 1, 107, -55, 102, -39, 97, 67, 103, 66, 79, 67, 37, -60, 62, -95, -88, -32, 105, 72, 106, -113, -59, -108, 54, -64, 43, 50, 9, 86, 30, 45, 72, 101, 31, -51, -120, 106, -8, 75, -24, 98, 111, -106, -12, 54, 104, 54, 47, 87, -115, -61, -106, 64, -47, 13, -80, 10, -116, -122, 39, -3, 118, -7, 0, 0, 0, 0, 42, -13, -118, 27, 96, 9, 27, -20, 71, -8, -96, -50, 61, 111, 87, 102, -83, -93, -54, 47, -37, 51, -113, 27, 122, 98, -52, -91, -75, 1, 53, -96, 8, 97, -120, 54, -44, 55, -1, -10, 105, -108, -84, -4, -101, -64, 67, 41, -4, 105, 67, 117, -60, 92, 67, 115, -4, -65, 124, -125, 90, 64, 118, -85, 97, 67, 39, 126, 96, 67, 78, 80, 65, -15, 12, -57, 61, 94, 67, 50, 3, -93, 33, -107, -2, -44, 16, 91, -34, -115, -88, 109, 24, 75, -120, 109, -113, -108, 20, 49, 52, 59, 122, 25, 51, -29, 23, -85, -39, 33, -50, -28, 104, -122, -16, 2, 0, -128, 90, 67, 20, 1, -93, 124, -122, 31, 91, 113, -59, 13, -55, -7, 121, 12, -57, 10, -10, -122, 120, 0, 1, -8, 8, -56, 33, -49, -59, 94, -78, -45, -85, 6, -33, 105, -55, -121, -77, 99, -113, 91, 105, -2, 77, -37, 70, -118, -2, 52, 102, -122, -45, -120, -66, -122, 25, -7, 65, 65, 19, 67, -69, 33, -92, 1, 0, 0, 23, 16, -37, 31, 40, 113, -90, 120, 118, -84, -48, -55, -17, -37, 16, -59, 62, -88, 28, -126, 21, 70, 1, -108, 3, 80, 1, -96, 45, 107, -115, 124, 58, -60, 102, -128, 0, 7, 64, 27, -60, 125, -107, 127, 42, -40, -83, 57, -15, -71, 1, -32, -50, -60, 42, 123, 106, 60, -16, -32, -66, 85, 26, -14, -31, 82, -20, -49, -128, -120, 94, -64, 0, -25, 50, 85, 26, -52, -80, 23, -21, 7, -120, 1, 118, 53, -55, 75, -83, -96, 2, 24, -16, 0, 0, 0, 4, 18, -77, 92, -101, -64, 8, 84, 72, -22, -33, 85, -126, -42, -69, -41, -79, -49, -69, 126, -128, 5, 0, -1, -128, 125, 54, 0, -53, 47, 110, 91, -59, 64, 13, 119, 115, -59, 63, 93, -28, -6, -23, -61, -128, 1, 40, 0, 0, 80, 75, 64, -18, -33, -123, -2, -117, -74, -116, 26, -106, -80, 6, 91, -70, 21, -23, -44, 0, -121, 12, 7, 64, 0, 5, 38, -73, 118, -79, -114, 104, 118, 0, -5, 87, 2, 85, -46, 94, 115, -112, -117, 72, 124, 100, -32, 106, 106, 81, -98, -121, -100, 116, 76, -121, -23, -112, 40, 43, 40, -92, 57, -96, 4, 121, 47, -29, -65, 81, -26, 2, -128, 16, 6, 62, -85, 86, -67, -8, 74, -35, -77, -62, -5, -81, -106, 56, 0, 0, 31, 1, -91, -48, 0, 67, 27, -62, 100, 43, 80, 68, 61, -48, 1, 24, 0, 45, 1, -16, 7, 18, 1, -23, -88, -84, 127, -6, 11, 37, -98, 14, 57, 107, -61, -52, -114, -128, 1, 91, -92, -95, -82, -128, 16, -64, 1, 108, 0, -128, 55, 111, -101, 96, -80, 61, -90, -94, 122, 49, -21, 14, -2, -73, 99, 115, 81, 11, 90, -118, 74, -99, 30, -9, -9, 67, -57, 80, 42, 79, -14, 3, -86, -91, -94, 51, -1, 83, 64, -118, 50, 53, -59, 74, -89, 126, -23, 32, 13, 57, 40, -123, 76, 97, -41, 91, -115, -23, 107, -83, -37, 81, 67, 27, -73, -113, 58, 22, -80, 4, 88, 64, 109, -10, -64, 14, -80, -19, -43, 15, 62, -80, -116, -14, -121, -11, 110, -25, 38, -109, 3, 55, -103, 85, -65, -79, -117, -37, 66, -102, 97, -70, -123, 43, 104, -128, 21, 100, 40, 71, -55, -125, 104, 33, -43, 82, 84, -102, 7, -3, -32, -114, 20, -37, -27, -4, -107, 116, 67, 3, -7, -91, -9, -99, -25, -44, -71, -57, 4, 5, -75, 74, 0, 1, 107, -120, -19, -92, 21, -66, 100, 8, -124, -6, -79, 18, -44, -27, 12, 12, -112, -32, -108, -68, 99, 123, -89, -39, 98, -53, 51, -10, -128, 10, 42, -48, -9, -108, -34, -100, -7, -52, -123, -39, 100, -46,
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -