This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Godot; | |
using Godot.Collections; | |
using TerraBrush; | |
public partial class BuildController : Node3D | |
{ | |
[Export] | |
public Camera3D camera; | |
[Export] | |
public Node3D pointer; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (smoothRadius > 0) | |
{ | |
for (int i = 0; i < smoothRepeat; i++) | |
{ | |
for (int x = 0; x < hmWidth; x++) | |
for (int z = 0; z < hmHeight; z++) | |
{ | |
Ray ray = new Ray(new Vector3(x + terrain.transform.position.x, 1000, z + terrain.transform.position.z), Vector3.down); | |
RaycastHit[] hit = Physics.RaycastAll(ray); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package IHaveNoIdea; | |
import net.minecraft.client.model.ModelBase; | |
import net.minecraft.client.model.ModelRenderer; | |
import net.minecraft.entity.Entity; | |
/** | |
* ArchimedesScrew - Lance5057 | |
* Created using Tabula 4.1.1 | |
*/ |