#include "stdafx.h"
#include "VvvCamera.h"
#include "jp/ggaf/dxcore/actor/supporter/GgafDxKuroko.h"
#include "jp/ggaf/dxcore/actor/supporter/GgafDxAxesMover.h"
#include "jp/ggaf/dxcore/actor/GgafDxCameraViewPoint.h"
#include "actor/VvvViewPoint.h"

using namespace GgafCore;
using namespace GgafDxCore;
using namespace GgafLib;
using namespace VVViewer;

VvvCamera::VvvCamera(const char* prm_name) : GgafLib::DefaultCamera(prm_name) {
    pAxsMver_ = NEW GgafDxAxesMover(this);
}
GgafDxCameraViewPoint* VvvCamera::createViewPoint() {
    VvvViewPoint* pVP = NEW VvvViewPoint("ViewPoint");
    return (GgafDxCameraViewPoint*)pVP;
}
void VvvCamera::processBehavior() {
    DefaultCamera::processBehavior();
    pAxsMver_->behave();
    _pKuroko->behave();
}

VvvCamera::~VvvCamera() {
    GGAF_DELETE(pAxsMver_);
}
