Main Page   Class Overview   Pixels   Images   Geometry   Quick Index  

HxVec3Byte.h

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 
00011 #ifndef HxVec3Byte_h
00012 #define HxVec3Byte_h
00013 
00014 #include "HxVec3Tem.h"
00015 #include "HxByte.h"
00016 
00017 typedef HxVec3Tem<HxByte> HxVec3Byte;
00018 
00019 static HxVec3Byte dummyVec3Byte; // Dummy statement to instantiate type in VC++ 5.0
00020 // Without it, the following results in an error:
00021 //      HxVec3Byte* vlist = new HxVec3Byte[1];
00022 //      delete [] vlist;
00023 // The error is caused by a wrong number of bytes passed to operator new, so
00024 // in the delete a check for too many allocated bytes is done, which fails.
00025 
00026 
00027 #endif

Generated on Tue Jan 8 13:59:18 2002 for C++Reference by doxygen1.2.12 written by Dimitri van Heesch, © 1997-2001