00001 /* 00002 * Copyright (c) 1998, University of Amsterdam, The Netherlands. 00003 * All rights reserved. 00004 * 00005 * 00006 * Author(s): 00007 * Dennis Koelma (koelma@wins.uva.nl) 00008 * Edo Poll (poll@wins.uva.nl) 00009 */ 00010 00013 #ifndef HxVec3Byte_h 00014 #define HxVec3Byte_h 00015 00016 #include "HxVec3Tem.h" 00017 #include "HxByte.h" 00018 00019 00021 typedef HxVec3Tem<HxByte> HxVec3Byte; 00022 00023 00024 static HxVec3Byte dummyVec3Byte; // Dummy statement to instantiate type in VC++ 5.0 00025 // Without it, the following results in an error: 00026 // HxVec3Byte* vlist = new HxVec3Byte[1]; 00027 // delete [] vlist; 00028 // The error is caused by a wrong number of bytes passed to operator new, so 00029 // in the delete a check for too many allocated bytes is done, which fails. 00030 00031 00032 #endif