convert revolver shot to ray data type
This commit is contained in:
parent
e1e15a7119
commit
bc79d08bbd
1 changed files with 6 additions and 2 deletions
|
@ -152,9 +152,13 @@ static class Arts
|
|||
Quat rvolv_ori = Rig.l_aim.orientation;
|
||||
Vec3 rvolv_pos = Rig.l_aim.position;
|
||||
|
||||
Lines.Add(
|
||||
Ray ray = new(
|
||||
rvolv_pos,
|
||||
rvolv_pos + rvolv_ori * V.XYZ(0, 0, -10),
|
||||
rvolv_ori * Vec3.Forward
|
||||
);
|
||||
Lines.Add(
|
||||
ray,
|
||||
10.0f, // [!] hardcoded design value
|
||||
Color.Hex(0xF9BF05FF).ToLinear(),
|
||||
U.cm
|
||||
);
|
||||
|
|
Loading…
Add table
Reference in a new issue