#pragma once

//Include Horde3D for access to scene node
#include "Horde3D.h"

//Include Physics engine for access to physics objects
//PAL - Physics Abstraction Layer
#include "palFactory.h" //PAL physics
#include "palCollision.h" //Collision detection

const float PI = 22.0f/7.0f;
const float DegToRad = PI/180;
const float RadToDeg = 180/PI;

class sceneObject
{
public:
	sceneObject();
	~sceneObject();

	void init( float width, float height, float depth, float mass);

	//Horde 3d scene node
	NodeHandle object;

	//PAL physics object
	palBox *pb;

	//Scale of the object - Stored here to avoid retrieving from the Horde API on every update
	float sx,sy,sz;


	//Update scene node using PAL
	void update();


};

