Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/client/player/HeldBuild.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,10 @@ namespace perlin::heldbuild {

struct Hit {
bool block = false; // crosshair on a block (direct hit)
bool assist = false; // the block is the look-down pick under the player, not a ray hit
Target target;
glm::vec3 point{}; // where the ray stopped: hit point, or eye + look * reach without a hit
// last: callers brace-initialise the fields above in order
bool assist = false; // the block is the look-down pick under the player, not a ray hit
};

class HeldBuild {
Expand Down
Loading