public LQProximityDatabase(Vector3 center, Vector3 dimensions, Vector3 divisions) { Vector3 vector = dimensions * 0.5f; Vector3 vector2 = center - vector; this.lq = new locationQueryDatabase(vector2.x, vector2.y, vector2.z, dimensions.x, dimensions.y, dimensions.z, (int)Math.Round((double)divisions.x), (int)Math.Round((double)divisions.y), (int)Math.Round((double)divisions.z)); }
// constructor public LQProximityDatabase(Vector3 center, Vector3 dimensions, Vector3 divisions) { Vector3 halfsize = dimensions * 0.5f; Vector3 origin = center - halfsize; lq = new locationQueryDatabase(origin.x, origin.y, origin.z, dimensions.x, dimensions.y, dimensions.z, (int)System.Math.Round(divisions.x), (int)System.Math.Round(divisions.y), (int)System.Math.Round(divisions.z)); }
public tokenType(object parentObject, LQProximityDatabase lqsd) { this.proxy = new lqClientProxy(parentObject); this.lq = lqsd.lq; }
// constructor public tokenType(System.Object parentObject, LQProximityDatabase lqsd) { proxy = new lqClientProxy(parentObject);// lqInitClientProxy(proxy, parentObject); lq = lqsd.lq; }