From a9db0be12d07fdb5a2feb5cdcb7a059a76a4f4a4 Mon Sep 17 00:00:00 2001 From: cignoni Date: Thu, 21 Oct 2010 13:41:29 +0000 Subject: [PATCH] shotf and shotd are TYPEDEF not SUBCLASS !!! --- vcg/math/shot.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vcg/math/shot.h b/vcg/math/shot.h index 57830806..332225f9 100644 --- a/vcg/math/shot.h +++ b/vcg/math/shot.h @@ -402,8 +402,8 @@ S Shot::Depth(const vcg::Point3 & p)const //--- utility definitions -class Shotf: public Shot{}; -class Shotd: public Shot{}; +typedef Shot Shotf; +typedef Shot Shotd; //----------------------- } // end name space