Comments
This commit is contained in:
parent
db7fc640c1
commit
7682e8fbcc
@ -70,6 +70,7 @@ void VoxelTool::set_sdf_scale(float s) {
|
||||
Ref<VoxelRaycastResult> VoxelTool::raycast(Vector3 pos, Vector3 dir, float max_distance, uint32_t collision_mask) {
|
||||
ERR_PRINT("Not implemented");
|
||||
return Ref<VoxelRaycastResult>();
|
||||
// See derived classes for implementations
|
||||
}
|
||||
|
||||
uint64_t VoxelTool::get_voxel(Vector3i pos) {
|
||||
|
@ -20,7 +20,7 @@ bool VoxelToolTerrain::is_area_editable(const Rect3i &box) const {
|
||||
}
|
||||
|
||||
Ref<VoxelRaycastResult> VoxelToolTerrain::raycast(Vector3 pos, Vector3 dir, float max_distance, uint32_t collision_mask) {
|
||||
// TODO Transform input if the terrain is rotated (in the future it can be made a Spatial node)
|
||||
// TODO Transform input if the terrain is rotated
|
||||
// TODO Implement broad-phase on blocks to minimize locking and increase performance
|
||||
|
||||
struct RaycastPredicate {
|
||||
|
@ -683,7 +683,6 @@ float VoxelGeneratorGraph::debug_measure_microseconds_per_voxel(bool singular) {
|
||||
}
|
||||
|
||||
float us = static_cast<double>(elapsed_us) / voxel_count;
|
||||
// print_line(String("Time: {0}us").format(varray(us)));
|
||||
return us;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user