mirror of
https://codeberg.org/icewind/vbspview.git
synced 2026-06-03 18:24:09 +02:00
update to parser changes
This commit is contained in:
parent
4084fefd1a
commit
e100f6a732
2 changed files with 248 additions and 185 deletions
427
Cargo.lock
generated
427
Cargo.lock
generated
File diff suppressed because it is too large
Load diff
|
|
@ -161,15 +161,15 @@ impl MessageHandler for PovAnalyzer {
|
||||||
if self.is_pov {
|
if self.is_pov {
|
||||||
self.positions.pitch.push(Key::new(
|
self.positions.pitch.push(Key::new(
|
||||||
tick as f32,
|
tick as f32,
|
||||||
meta.view_angles.local_angles.1.y,
|
meta.view_angles[0].local_angles.y,
|
||||||
Interpolation::CatmullRom,
|
Interpolation::CatmullRom,
|
||||||
));
|
));
|
||||||
self.positions.yaw.push(Key::new(
|
self.positions.yaw.push(Key::new(
|
||||||
tick as f32,
|
tick as f32,
|
||||||
meta.view_angles.local_angles.1.x,
|
meta.view_angles[0].local_angles.x,
|
||||||
Interpolation::CatmullRom,
|
Interpolation::CatmullRom,
|
||||||
));
|
));
|
||||||
let pos = map_coords(meta.view_angles.origin.1);
|
let pos = map_coords(meta.view_angles[0].origin);
|
||||||
self.positions.positions.push(Key::new(
|
self.positions.positions.push(Key::new(
|
||||||
tick as f32,
|
tick as f32,
|
||||||
vec3(pos[0], pos[1] + self.view_offset, pos[2]),
|
vec3(pos[0], pos[1] + self.view_offset, pos[2]),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue