Remove all unused references to AddVaryingWithWeight

Far no longer supports this method, so the existing functions were pure noise.
Hbr, however still requires it, so there are still a couple instances of it in
the hbr tutorial files.
This commit is contained in:
Jeremy Cowles 2015-06-25 22:12:38 -07:00
parent 3961a2f4a5
commit ab5d5341af
7 changed files with 1 additions and 15 deletions

View File

@ -188,8 +188,6 @@ struct Vertex {
_pos[2]+=weight*src._pos[2]; _pos[2]+=weight*src._pos[2];
} }
void AddVaryingWithWeight(Vertex const & , float) { }
void Clear( void * =0 ) { _pos[0]=_pos[1]=_pos[2]=0.0f; } void Clear( void * =0 ) { _pos[0]=_pos[1]=_pos[2]=0.0f; }
void SetPosition(float x, float y, float z) { _pos[0]=x; _pos[1]=y; _pos[2]=z; } void SetPosition(float x, float y, float z) { _pos[0]=x; _pos[1]=y; _pos[2]=z; }

View File

@ -568,8 +568,6 @@ struct Vertex {
position[2]+=weight*src.position[2]; position[2]+=weight*src.position[2];
} }
void AddVaryingWithWeight(Vertex const &, float) { }
float position[3]; float position[3];
}; };

View File

@ -59,8 +59,6 @@ struct Vertex {
_position[2]+=weight*src._position[2]; _position[2]+=weight*src._position[2];
} }
void AddVaryingWithWeight(Vertex const &, float) { }
// Public interface ------------------------------------ // Public interface ------------------------------------
void SetPosition(float x, float y, float z) { void SetPosition(float x, float y, float z) {
_position[0]=x; _position[0]=x;

View File

@ -403,8 +403,6 @@ struct Vertex {
_position[2]+=weight*src._position[2]; _position[2]+=weight*src._position[2];
} }
void AddVaryingWithWeight(Vertex const &, float) { }
// Public interface ------------------------------------ // Public interface ------------------------------------
void SetPosition(float x, float y, float z) { void SetPosition(float x, float y, float z) {
_position[0]=x; _position[0]=x;

View File

@ -61,8 +61,6 @@ struct Vertex {
_position[2]+=weight*src._position[2]; _position[2]+=weight*src._position[2];
} }
void AddVaryingWithWeight(Vertex const &, float) { }
// Public interface ------------------------------------ // Public interface ------------------------------------
void SetPosition(float x, float y, float z) { void SetPosition(float x, float y, float z) {
_position[0]=x; _position[0]=x;

View File

@ -96,8 +96,6 @@ struct Vertex {
point[2] += weight * src.point[2]; point[2] += weight * src.point[2];
} }
void AddVaryingWithWeight(Vertex const &, float) { }
float point[3]; float point[3];
}; };

View File

@ -72,8 +72,6 @@ struct Vertex {
_position[2]+=weight*src._position[2]; _position[2]+=weight*src._position[2];
} }
void AddVaryingWithWeight(Vertex const &, float) { }
// Public interface ------------------------------------ // Public interface ------------------------------------
void SetPosition(float x, float y, float z) { void SetPosition(float x, float y, float z) {
_position[0]=x; _position[0]=x;