world: added grass and sky #5
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "devel"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Just added a simple sky and grass
9a0ff2dd1btoce21d1c83fce21d1c83ftoa89b4ad168a89b4ad168to0a384e32c80a384e32c8to1017920ee09f85c39b02toe5c1280dd935e193d74fto05c8dbca7005c8dbca70to1cdd89ce5e1cdd89ce5eto4e8b3979484e8b397948to1fd43ac5f9350e17656btof93e3ff992f93e3ff992tocf14e5d398@ -36,0 +70,4 @@$InnerGimbal/Camera3D.position.x = $InnerGimbal/Camera3D.position.x$InnerGimbal/Camera3D.position.y = lerp($InnerGimbal/Camera3D.position.y, float(current_zoom), zoom_speed*delta)$InnerGimbal/Camera3D.position.z = lerp($InnerGimbal/Camera3D.position.z, float(current_zoom), zoom_speed*delta)This is great work bro but these last three lines can be improved to something like this:
Since we instantiate
pto be a copy of the Camera3D's position on the first line, we don't need to assignp.xmanually. And the lines are shorter so they can fit in an editor without going over the edge 😁Also we call lerp with
p's properties instead of the long name ($InnerGimbal/...). If the path to the Camera3D changes we only need to change one reference where we definepinstead of replacing the whole lot.Also please put spaces on both sides of the asterisks 😁
626fc3d752tofced905bae