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