Esempio n. 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;
 }
Esempio n. 2
0
 internal void addObject(FTemplate shape, Vector3 position)
 {
     members.Add(new FObject(shape, position));
 }
Esempio n. 3
0
 internal void addObject(FTemplate shape, Vector3 position, double scale)
 {
     members.Add(new FObject(shape, position, scale));
 }
Esempio n. 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;
 }