The PositionMaterial class can now be removed as we're not using it.
This commit is contained in:
parent
5dfa7e2562
commit
12246d1633
@ -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
|
||||
|
@ -72,39 +72,4 @@ namespace PolyVox
|
||||
{
|
||||
position = positionToSet;
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
// PositionMaterial
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
PositionMaterial::PositionMaterial()
|
||||
{
|
||||
}
|
||||
|
||||
PositionMaterial::PositionMaterial(Vector3DFloat positionToSet, float materialToSet)
|
||||
:position(positionToSet)
|
||||
,material(materialToSet)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
float PositionMaterial::getMaterial(void) const
|
||||
{
|
||||
return material;
|
||||
}
|
||||
|
||||
const Vector3DFloat& PositionMaterial::getPosition(void) const
|
||||
{
|
||||
return position;
|
||||
}
|
||||
|
||||
void PositionMaterial::setMaterial(float materialToSet)
|
||||
{
|
||||
material = materialToSet;
|
||||
}
|
||||
|
||||
void PositionMaterial::setPosition(const Vector3DFloat& positionToSet)
|
||||
{
|
||||
position = positionToSet;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user