/* ----------------------------------------------------------------------------- GSFramework Copyright 2001-2013 Emmanuel Julien. All Rights Reserved. ----------------------------------------------------------------------------- */ #include "scene3d/scene_info.h" #include "automation/automation_player.h" #include "scene3d/mlight.h" #include "scene3d/mcamera.h" #include "scene3d/mobject.h" #include "scene3d/scene.h" #include "log/log.h" using namespace GS::Core; //------------------------------------------------------------------------------ void GS::S3D::DumpMemoryLayout() { __LOG__ << "Scene memory layout:\n\n"; __LOG__ << " sizeof(S3D::Scene) = " << (uint)sizeof(Scene) << "\n"; __LOG__ << " sizeof(S3D::MItem) = " << (uint)sizeof(MItem) << "\n"; __LOG__ << " sizeof(Core::MotionChannel) = " << (uint)sizeof(MotionChannel) << "\n"; __LOG__ << " sizeof(Core::Motion) = " << (uint)sizeof(Motion) << "\n"; __LOG__ << " sizeof(Automation::Player) = " << (uint)sizeof(GS::Automation::Player) << "\n"; __LOG__ << " sizeof(S3D::MObject) = " << (uint)sizeof(MObject) << "\n"; __LOG__ << " sizeof(S3D::MCamera) = " << (uint)sizeof(MCamera) << "\n"; __LOG__ << " sizeof(S3D::MLight) = " << (uint)sizeof(MLight) << "\n"; __LOG__ << "\n"; } //------------------------------------------------------------------------------