HomeSort by relevance Sort by last modified time
    Searched refs:anchor_1 (Results 1 - 2 of 2) sorted by null

  /external/chromium_org/ppapi/examples/mouse_lock/
mouse_lock.cc 161 pp::Point anchor_1; local
173 anchor_1.set_x(center_x);
174 anchor_1.set_y(center_y - kCenteralSpotRadius);
179 anchor_1.swap(anchor_2);
181 anchor_1.set_x(center_x + kCenteralSpotRadius);
182 anchor_1.set_y(center_y);
187 anchor_1.swap(anchor_2);
200 ((y - anchor_1.y()) * (vertex.x() - anchor_1.x())) >
201 ((vertex.y() - anchor_1.y()) * (x - anchor_1.x()))
    [all...]
  /external/chromium_org/native_client_sdk/src/examples/api/mouse_lock/
mouse_lock.cc 283 pp::Point anchor_1; local
288 anchor_1.set_x(center_x);
289 anchor_1.set_y(center_y - kCentralSpotRadius);
294 anchor_1.swap(anchor_2);
296 anchor_1.set_x(center_x + kCentralSpotRadius);
297 anchor_1.set_y(center_y);
302 anchor_1.swap(anchor_2);
312 bool within_bound_1 = ((y - anchor_1.y()) * (vertex.x() - anchor_1.x())) >
313 ((vertex.y() - anchor_1.y()) * (x - anchor_1.x()))
    [all...]

Completed in 77 milliseconds