void Cc3dVector2::print(){
    C3DLOG("Cc3dVector2: %f,%f",m_array[0],m_array[1]);
}
void Cc3dVector4::print(){
    C3DLOG("Cc3dVector4: %f,%f,%f,%f",m_array[0],m_array[1],m_array[2],m_array[3]);
}
Exemple #3
0
void C3DASSERT(bool cond, const string&msg){
    if (!cond) {
        C3DLOG("Assert failed: %s", msg.c_str());
        assert(cond);
    }
}