/******************************************************************************
** Copyright (c) 2018 MAK Technologies, Inc.
** All rights reserved.
******************************************************************************/

//! \file DtAssert.h
//! \brief assert macros
//! \ingroup vrvGraphicsUtils
#pragma once

// If this is is 1, the asserts are enabled. Else they are compiled out
// The developer can turn them on for development (locally)
#define OSG_ST_ASSERT_ENABLED 0

#if OSG_ST_ASSERT_ENABLED
#ifdef NDEBUG
#undef NDEBUG
#endif
// do the assert 
#include <cassert>
#define Assert assert
#else
#define Assert(exp) static_cast<void>(0)
#endif

#define ASSERT_PREDICATE(p)  Assert(p);


