Skip to content

Commit 3365c73

Browse files
committed
WOWIE GREAT JOB HOZY BLACKBOX APPROVED
1 parent f7789e7 commit 3365c73

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

src/hyperlib/renderer/camera.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,8 @@ namespace hyper
101101
this->current_key.view_matrix = trolli::instance.camera_matrix;
102102

103103
this->current_key.view_matrix.row(3u).as_vector3() *= 0.01f;
104+
105+
this->current_key.view_matrix.m44 = 1.0f;
104106
}
105107

106108
matrix4x4 rotation;
@@ -138,7 +140,7 @@ namespace hyper
138140

139141
this->velocity_key.direction = vector4::scale(vector4::subtract(this->current_key.direction, this->previous_key.direction), inverse_lapsed);
140142

141-
this->velocity_key.target = vector4::scale(vector4::subtract(this->current_key.target, this->previous_key.direction), inverse_lapsed);
143+
this->velocity_key.target = vector4::scale(vector4::subtract(this->current_key.target, this->previous_key.target), inverse_lapsed);
142144

143145
this->velocity_key.noise_frequency_1 = (this->current_key.noise_frequency_1 - this->previous_key.noise_frequency_1) * inverse_lapsed;
144146

src/hyperlinked/patches.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ namespace hyper
3434
scenery_patches::init();
3535
world_anim_patches::init();
3636

37-
// camera_patches::init();
37+
camera_patches::init();
3838
culling_patches::init();
3939
directx_patches::init();
4040
drawing_patches::init();

0 commit comments

Comments
 (0)