예제 #1
0
            public void CopyFrom(QcPyramidProperties source)
            {
                base.CopyFrom(source);

                this.width           = source.width;
                this.depth           = source.depth;
                this.height          = source.height;
                this.sides           = source.sides;
                this.triangleIncline = source.triangleIncline;
            }
예제 #2
0
 public bool Modified(QcPyramidProperties source)
 {
     if ((this.width == source.width) && (this.depth == source.depth) && (this.height == source.height) &&
         (this.sides == source.sides) &&
         (this.triangleIncline == source.triangleIncline) &&
         (this.genTextureCoords == source.genTextureCoords) &&
         (this.addCollider == source.addCollider) &&
         (this.offset[0] == source.offset[0]) && (this.offset[1] == source.offset[1]) && (this.offset[2] == source.offset[2]))
     {
         return(false);
     }
     else
     {
         return(true);
     }
 }