Searched refs:curr_pos_norm (Results 1 – 2 of 2) sorted by relevance
166 …const SbVec2f curr_pos_norm((float) curr_pos[0] / (float) std::max((int)(viewport_size[0] - 1), 1), in handle() local189 spin(curr_pos_norm, last_pos_norm); in handle()190 update_log( curr_pos_norm ); in handle()
260 …const SbVec2f curr_pos_norm((float) curr_pos[0] / (float) std::max((int)(viewport_size[0] - 1), 1), in handle() local263 last_pos_ = curr_pos_norm; in handle()271 spin(curr_pos_norm, last_pos_norm); in handle()272 update_log( curr_pos_norm ); in handle()281 zoom( (curr_pos_norm[1] - last_pos_norm[1]) * scale_); in handle()286 pan(curr_pos_norm, last_pos_norm, aspect_ratio); in handle()