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

  /external/chromium_org/ppapi/examples/mouse_lock/
mouse_lock.cc 162 pp::Point anchor_2; local
175 anchor_2.set_x(center_x);
176 anchor_2.set_y(center_y + kCenteralSpotRadius);
179 anchor_1.swap(anchor_2);
183 anchor_2.set_x(center_x - kCenteralSpotRadius);
184 anchor_2.set_y(center_y);
187 anchor_1.swap(anchor_2);
203 ((y - anchor_2.y()) * (vertex.x() - anchor_2.x())) <
204 ((vertex.y() - anchor_2.y()) * (x - anchor_2.x()))
    [all...]
  /external/chromium_org/native_client_sdk/src/examples/api/mouse_lock/
mouse_lock.cc 284 pp::Point anchor_2; local
290 anchor_2.set_x(center_x);
291 anchor_2.set_y(center_y + kCentralSpotRadius);
294 anchor_1.swap(anchor_2);
298 anchor_2.set_x(center_x - kCentralSpotRadius);
299 anchor_2.set_y(center_y);
302 anchor_1.swap(anchor_2);
314 bool within_bound_2 = ((y - anchor_2.y()) * (vertex.x() - anchor_2.x())) <
315 ((vertex.y() - anchor_2.y()) * (x - anchor_2.x()))
    [all...]

Completed in 300 milliseconds