From: H. H. <hen...@gm...> - 2008-08-27 16:36:51
|
Well no it does not but is that assert even necessary in tutorials? On Wed, Aug 27, 2008 at 7:00 PM, Orhun Birsoy <orh...@gm...> wrote: > Is assert a code path? I think it is not. I mean that`s the whole point, > the code should have a single path. I always thought unit tests are for > release (i.e production), so there will be no error behavior (i.e. assert) > in release builds. If this is a problem then I would suggest to remove the > assert all together. > > More on removing the assert: > Inverse operation is not something you use when you are a newbie (drawing a > cube does not require one or at least not in CPU). When you start using > matrix inverses, a well placed, briefly commented assert(glmMatDeterm4f (m) > != 0) [or something similar] in a glsdk tutorial will not confuse anybody. > Or will it? > > -- > Orhun Birsoy > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Glsdk-devel mailing list > Gls...@li... > https://lists.sourceforge.net/lists/listinfo/glsdk-devel > > -- Henri 'henux' Häkkinen |