X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;f=radiant%2Fbrush.h;h=21e7d9ca53e530ac0e6b29f06c1fa34a14d456af;hb=b8c3c38b6593cf013c8591d142854a842c79b1a2;hp=298b161bd549c37b2cc71d6289a2ed14493cbdf0;hpb=01a950c3de3ef7f7da23360f925404e2bd385d5d;p=xonotic%2Fnetradiant.git diff --git a/radiant/brush.h b/radiant/brush.h index 298b161b..21e7d9ca 100644 --- a/radiant/brush.h +++ b/radiant/brush.h @@ -600,14 +600,6 @@ void fit( const Vector3& normal, const Winding& winding, float s_repeat, float t Texdef_FitTexture( m_projection, m_shader.width(), m_shader.height(), normal, winding, s_repeat, t_repeat ); } -void fitW( const Vector3& normal, const Winding& winding, float s_repeat, float t_repeat ){ - Texdef_FitTextureW( m_projection, m_shader.width(), m_shader.height(), normal, winding, s_repeat, t_repeat ); -} - -void fitH( const Vector3& normal, const Winding& winding, float s_repeat, float t_repeat ){ - Texdef_FitTextureH( m_projection, m_shader.width(), m_shader.height(), normal, winding, s_repeat, t_repeat ); -} - void emitTextureCoordinates( Winding& winding, const Vector3& normal, const Matrix4& localToWorld ){ Texdef_EmitTextureCoordinates( m_projection, m_shader.width(), m_shader.height(), winding, normal, localToWorld ); } @@ -1237,18 +1229,6 @@ void FitTexture( float s_repeat, float t_repeat ){ texdefChanged(); } -void FitTextureW( float s_repeat, float t_repeat ){ - undoSave(); - m_texdef.fitW( m_plane.plane3().normal(), m_winding, s_repeat, t_repeat ); - texdefChanged(); -} - -void FitTextureH( float s_repeat, float t_repeat ){ - undoSave(); - m_texdef.fitH( m_plane.plane3().normal(), m_winding, s_repeat, t_repeat ); - texdefChanged(); -} - void EmitTextureCoordinates(){ Texdef_EmitTextureCoordinates( m_texdefTransformed, m_shader.width(), m_shader.height(), m_winding, plane3().normal(), g_matrix4_identity ); }