示例#1
0
文件: object.cpp 项目: atlaste/povray
ObjectPtr CompoundObject::Invert()
{
    for(vector<ObjectPtr>::iterator Current_Sib = children.begin(); Current_Sib != children.end(); Current_Sib++)
        *Current_Sib = (*Current_Sib)->Invert();
    Invert_Flag(this, INVERTED_FLAG);
    return this;
}
示例#2
0
static void Invert_Quadric(OBJECT *Object)
{
  QUADRIC *Quadric = (QUADRIC *) Object;

  VScaleEq(Quadric->Square_Terms, -1.0);
  VScaleEq(Quadric->Mixed_Terms, -1.0);
  VScaleEq(Quadric->Terms, -1.0);

  Quadric->Constant *= -1.0;

  Invert_Flag(Object, INVERTED_FLAG);
}
示例#3
0
文件: object.cpp 项目: atlaste/povray
ObjectPtr ObjectBase::Invert()
{
    Invert_Flag(this, INVERTED_FLAG);
    return this;
}
示例#4
0
文件: torus.cpp 项目: Degot/povray
void Torus::Invert()
{
	Invert_Flag(this, INVERTED_FLAG);
}
示例#5
0
static void Invert_Box(OBJECT *Object)
{
  Invert_Flag(Object, INVERTED_FLAG);
}
示例#6
0
static void Invert_IsoSurface(OBJECT* Object)
{
	Invert_Flag(Object, INVERTED_FLAG);
}