This commit is contained in:
Monty Marz 2022-01-28 17:37:06 +01:00 committed by Sam
parent c6dc96b795
commit 82def16969
2 changed files with 4 additions and 4 deletions

View File

@ -5,5 +5,5 @@ layout(location = 0) in vec3 f_pos;
layout(location = 0) out vec4 tgt_color; layout(location = 0) out vec4 tgt_color;
void main() { void main() {
tgt_color = vec4(vec3(1), .25); tgt_color = vec4(.55, .92, 1.0, .02);
} }

View File

@ -6445,10 +6445,10 @@ impl<S: Skeleton> FigureState<S> {
// Handle weapon trails // Handle weapon trails
let weapon_offsets = offsets.weapon_trail_mat.map(|mat| { let weapon_offsets = offsets.weapon_trail_mat.map(|mat| {
let (trail_start, trail_end) = match tools.0 { let (trail_start, trail_end) = match tools.0 {
Some(ToolKind::Sword) => (29.0, 29.25), Some(ToolKind::Sword) => (20.25, 29.25),
// TODO: Make sure these are good positions, only did tweaking on sword // TODO: Make sure these are good positions, only did tweaking on sword
Some(ToolKind::Axe) => (19.0, 19.25), Some(ToolKind::Axe) => (10.0, 19.25),
Some(ToolKind::Hammer) => (19.0, 19.25), Some(ToolKind::Hammer) => (10.0, 19.25),
_ => (0.0, 0.0), _ => (0.0, 0.0),
}; };
( (