示例#1
0
 internal FObject(FTemplate shape, Vector3 position, double scale)
 {
     template      = shape; // we want a record of the template, not sure how useful this is, but meh.
     this.position = position;
     if (scale < 0)
     {
         throw new System.Exception("Objects cannot be negatively scaled!");
     }
     this.scale = scale;
 }
示例#2
0
 internal void addObject(FTemplate shape, Vector3 position)
 {
     members.Add(new FObject(shape, position));
 }
示例#3
0
 internal void addObject(FTemplate shape, Vector3 position, double scale)
 {
     members.Add(new FObject(shape, position, scale));
 }
示例#4
0
 // Don't call these! call from scene!
 internal FObject(FTemplate shape, Vector3 position)
 {
     template      = shape; // we want a record of the template, not sure how useful this is, but meh.
     this.position = position;
     scale         = 1;
 }