mirror of
https://github.com/PixarAnimationStudios/OpenSubdiv
synced 2024-12-23 00:10:07 +00:00
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:
parent
3961a2f4a5
commit
ab5d5341af
@ -188,8 +188,6 @@ struct Vertex {
|
||||
_pos[2]+=weight*src._pos[2];
|
||||
}
|
||||
|
||||
void AddVaryingWithWeight(Vertex const & , float) { }
|
||||
|
||||
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; }
|
||||
|
@ -568,8 +568,6 @@ struct Vertex {
|
||||
position[2]+=weight*src.position[2];
|
||||
}
|
||||
|
||||
void AddVaryingWithWeight(Vertex const &, float) { }
|
||||
|
||||
float position[3];
|
||||
};
|
||||
|
||||
@ -1237,4 +1235,4 @@ MStatus uninitializePlugin( MObject obj) {
|
||||
MCHECKERR(returnStatus, "deregisterNode");
|
||||
|
||||
return returnStatus;
|
||||
}
|
||||
}
|
||||
|
@ -59,8 +59,6 @@ struct Vertex {
|
||||
_position[2]+=weight*src._position[2];
|
||||
}
|
||||
|
||||
void AddVaryingWithWeight(Vertex const &, float) { }
|
||||
|
||||
// Public interface ------------------------------------
|
||||
void SetPosition(float x, float y, float z) {
|
||||
_position[0]=x;
|
||||
|
@ -403,8 +403,6 @@ struct Vertex {
|
||||
_position[2]+=weight*src._position[2];
|
||||
}
|
||||
|
||||
void AddVaryingWithWeight(Vertex const &, float) { }
|
||||
|
||||
// Public interface ------------------------------------
|
||||
void SetPosition(float x, float y, float z) {
|
||||
_position[0]=x;
|
||||
|
@ -61,8 +61,6 @@ struct Vertex {
|
||||
_position[2]+=weight*src._position[2];
|
||||
}
|
||||
|
||||
void AddVaryingWithWeight(Vertex const &, float) { }
|
||||
|
||||
// Public interface ------------------------------------
|
||||
void SetPosition(float x, float y, float z) {
|
||||
_position[0]=x;
|
||||
|
@ -96,8 +96,6 @@ struct Vertex {
|
||||
point[2] += weight * src.point[2];
|
||||
}
|
||||
|
||||
void AddVaryingWithWeight(Vertex const &, float) { }
|
||||
|
||||
float point[3];
|
||||
};
|
||||
|
||||
|
@ -72,8 +72,6 @@ struct Vertex {
|
||||
_position[2]+=weight*src._position[2];
|
||||
}
|
||||
|
||||
void AddVaryingWithWeight(Vertex const &, float) { }
|
||||
|
||||
// Public interface ------------------------------------
|
||||
void SetPosition(float x, float y, float z) {
|
||||
_position[0]=x;
|
||||
|
Loading…
Reference in New Issue
Block a user