The PositionMaterial class can now be removed as we're not using it.
This commit is contained in:
		| @@ -129,11 +129,6 @@ namespace PolyVox | ||||
| 	//////////////////////////////////////////////////////////////////////////////// | ||||
| 	template <typename VoxelType> class Pager; | ||||
|  | ||||
| 	//////////////////////////////////////////////////////////////////////////////// | ||||
| 	// PositionMaterial | ||||
| 	//////////////////////////////////////////////////////////////////////////////// | ||||
| 	class PositionMaterial; | ||||
|  | ||||
| 	//////////////////////////////////////////////////////////////////////////////// | ||||
| 	// PositionMaterialNormal | ||||
| 	//////////////////////////////////////////////////////////////////////////////// | ||||
|   | ||||
| @@ -33,27 +33,6 @@ freely, subject to the following restrictions: | ||||
|  | ||||
| namespace PolyVox | ||||
| {	 | ||||
| #ifdef SWIG | ||||
| 	class PositionMaterial | ||||
| #else | ||||
| 	class POLYVOX_API PositionMaterial | ||||
| #endif | ||||
| 	{ | ||||
| 	public:	 | ||||
| 		PositionMaterial(); | ||||
| 		PositionMaterial(Vector3DFloat positionToSet, float materialToSet); | ||||
|  | ||||
| 		float getMaterial(void) const; | ||||
| 		const Vector3DFloat& getPosition(void) const; | ||||
|  | ||||
| 		void setMaterial(float materialToSet); | ||||
| 		void setPosition(const Vector3DFloat& positionToSet); | ||||
| 	public:		 | ||||
| 		//Nicely fits into four floats. | ||||
| 		Vector3DFloat position; | ||||
| 		float material; | ||||
| 	};	 | ||||
|  | ||||
| #ifdef SWIG | ||||
| 	class PositionMaterialNormal | ||||
| #else | ||||
|   | ||||
		Reference in New Issue
	
	Block a user