mirror of
https://github.com/godotengine/godot.git
synced 2025-11-10 02:21:15 +00:00
Rename Transform to Transform3D in core
This commit is contained in:
parent
b80494e633
commit
de3f6699a5
257 changed files with 1697 additions and 1702 deletions
|
|
@ -94,8 +94,8 @@ void Path3DGizmo::set_handle(int p_idx, Camera3D *p_camera, const Point2 &p_poin
|
|||
return;
|
||||
}
|
||||
|
||||
Transform gt = path->get_global_transform();
|
||||
Transform gi = gt.affine_inverse();
|
||||
Transform3D gt = path->get_global_transform();
|
||||
Transform3D gi = gt.affine_inverse();
|
||||
Vector3 ray_from = p_camera->project_ray_origin(p_point);
|
||||
Vector3 ray_dir = p_camera->project_ray_normal(p_point);
|
||||
|
||||
|
|
@ -302,8 +302,8 @@ bool Path3DEditorPlugin::forward_spatial_gui_input(Camera3D *p_camera, const Ref
|
|||
if (c.is_null()) {
|
||||
return false;
|
||||
}
|
||||
Transform gt = path->get_global_transform();
|
||||
Transform it = gt.affine_inverse();
|
||||
Transform3D gt = path->get_global_transform();
|
||||
Transform3D it = gt.affine_inverse();
|
||||
|
||||
static const int click_dist = 10; //should make global
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue