Ejemplo n.º 1
0
        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));
        }
Ejemplo n.º 2
0
        // 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));
        }
Ejemplo n.º 3
0
        // 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));
        }
Ejemplo n.º 4
0
 public tokenType(object parentObject, LQProximityDatabase lqsd)
 {
     this.proxy = new lqClientProxy(parentObject);
     this.lq    = lqsd.lq;
 }
Ejemplo n.º 5
0
 // constructor
 public tokenType(System.Object parentObject, LQProximityDatabase lqsd)
 {
     proxy = new lqClientProxy(parentObject);// lqInitClientProxy(proxy, parentObject);
     lq = lqsd.lq;
 }
Ejemplo n.º 6
0
 // constructor
 public tokenType(System.Object parentObject, LQProximityDatabase lqsd)
 {
     proxy = new lqClientProxy(parentObject);// lqInitClientProxy(proxy, parentObject);
     lq    = lqsd.lq;
 }