#include "stdafx.h" #include "Rotations.h" #include "ListTag.h" #include "FloatTag.h" Rotations::Rotations(ListTag* list) { x = list->get(0)->data; y = list->get(1)->data; z = list->get(2)->data; } ListTag* Rotations::save() const { ListTag* tag = new ListTag(); tag->add(new FloatTag(L"", x)); tag->add(new FloatTag(L"", y)); tag->add(new FloatTag(L"", z)); return tag; }