From: James W. W. <jww...@us...> - 2007-06-24 01:11:11
|
Update of /cvsroot/quesa/quesa/Development/Source/Core/System In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv15186/quesa/Development/Source/Core/System Modified Files: E3View.c Log Message: In e3view_new, initialize allowGroupCulling to kQ3True. New function E3View_IsGroupCullingAllowed. Index: E3View.c =================================================================== RCS file: /cvsroot/quesa/quesa/Development/Source/Core/System/E3View.c,v retrieving revision 1.80 retrieving revision 1.81 diff -C2 -d -r1.80 -r1.81 *** E3View.c 19 Jun 2007 02:37:53 -0000 1.80 --- E3View.c 24 Jun 2007 01:11:05 -0000 1.81 *************** *** 1692,1695 **** --- 1692,1696 ---- instanceData->submitRetainedMethod = (TQ3XViewSubmitRetainedMethod) e3view_submit_retained_error; instanceData->submitImmediateMethod = (TQ3XViewSubmitImmediateMethod) e3view_submit_immediate_error; + instanceData->allowGroupCulling = kQ3True; instanceData->viewAttributes = Q3AttributeSet_New(); *************** *** 4312,4315 **** --- 4313,4329 ---- //============================================================================= + // E3View_IsGroupCullingAllowed : Access group culling state. + //----------------------------------------------------------------------------- + TQ3Boolean + E3View_IsGroupCullingAllowed( TQ3ViewObject theView ) + { + return ( (E3View*) theView )->instanceData.allowGroupCulling; + } + + + + + + //============================================================================= // E3View_TransformLocalToWorld : Transform a point from local->world. //----------------------------------------------------------------------------- |