* Valve220: fix uninitialized texture buffer basis

This commit is contained in:
Garux 2018-03-04 13:52:34 +03:00
parent 658cbe45ba
commit 2859ea7e9c

View File

@ -1448,6 +1448,8 @@ public:
std::size_t m_height;
FaceTexture() : m_plane( 0, 0, 1, 0 ), m_width( 64 ), m_height( 64 ) {
m_projection.m_basis_s = Vector3( 0.7071067811865, 0.7071067811865, 0 );
m_projection.m_basis_t = Vector3( -0.4082482904639, 0.4082482904639, -0.4082482904639 * 2.0 );
}
};