#pragma once
#include "DrawableBase.h"
#include "Logger.h"
#include "Structs.h"
#include "Surface.h"

class Box : public DrawableBase<Box>
{
public:
	Box(Graphics& gfx, StructVertexWithTexture vertices[], Logger& logger);
	void Update(float dt) noexcept override;
	//void UpdateCamera(float sin, float cos) noexcept;
	//void SetCamera(DirectX::XMVECTOR upDirection, DirectX::XMVECTOR eyePosition, DirectX::XMVECTOR focusPosition) noexcept;
	DirectX::XMMATRIX GetTransformXM(Graphics& gfx) const noexcept override;
private:
	//StructVertex vertices[24];
	// trasformation
	float dx = 0.0f;
	float dy = 0.0f;
	float dz = 0.0f;
};