Home
last modified time | relevance | path

Searched refs:radians_per_pixel (Results 1 – 2 of 2) sorted by relevance

/dports/devel/godot/godot-3.2.3-stable/editor/plugins/
H A Dspatial_editor_plugin.cpp2122 const real_t radians_per_pixel = Math::deg2rad(degrees_per_pixel); in _nav_orbit() local
2127 cursor.x_rot -= p_relative.y * radians_per_pixel; in _nav_orbit()
2129 cursor.x_rot += p_relative.y * radians_per_pixel; in _nav_orbit()
2135 cursor.y_rot -= p_relative.x * radians_per_pixel; in _nav_orbit()
2137 cursor.y_rot += p_relative.x * radians_per_pixel; in _nav_orbit()
2155 const real_t radians_per_pixel = Math::deg2rad(degrees_per_pixel); in _nav_look() local
2162 cursor.x_rot -= p_relative.y * radians_per_pixel; in _nav_look()
2164 cursor.x_rot += p_relative.y * radians_per_pixel; in _nav_look()
2169 cursor.y_rot += p_relative.x * radians_per_pixel; in _nav_look()
/dports/devel/godot-tools/godot-3.2.3-stable/editor/plugins/
H A Dspatial_editor_plugin.cpp2122 const real_t radians_per_pixel = Math::deg2rad(degrees_per_pixel); in _nav_orbit() local
2127 cursor.x_rot -= p_relative.y * radians_per_pixel; in _nav_orbit()
2129 cursor.x_rot += p_relative.y * radians_per_pixel; in _nav_orbit()
2135 cursor.y_rot -= p_relative.x * radians_per_pixel; in _nav_orbit()
2137 cursor.y_rot += p_relative.x * radians_per_pixel; in _nav_orbit()
2155 const real_t radians_per_pixel = Math::deg2rad(degrees_per_pixel); in _nav_look() local
2162 cursor.x_rot -= p_relative.y * radians_per_pixel; in _nav_look()
2164 cursor.x_rot += p_relative.y * radians_per_pixel; in _nav_look()
2169 cursor.y_rot += p_relative.x * radians_per_pixel; in _nav_look()