various code cleanups

This commit is contained in:
Garux
2021-10-30 16:04:31 +03:00
parent e62da4c621
commit da98e8fde3
70 changed files with 1158 additions and 1276 deletions

View File

@@ -1428,7 +1428,7 @@ void WXY_SetBackgroundImage(){
==============
*/
void XYWnd::XY_DrawAxis( void ){
void XYWnd::XY_DrawAxis(){
const char g_AxisName[3] = { 'X', 'Y', 'Z' };
NDIM1NDIM2( m_viewType )
const float w = ( m_nWidth / 2 / m_fScale );
@@ -1475,7 +1475,7 @@ void XYWnd::XY_DrawAxis( void ){
GlobalOpenGL().drawChar( g_AxisName[nDim2] );
}
void XYWnd::XY_DrawGrid( void ) {
void XYWnd::XY_DrawGrid() {
float x, y;
char text[32];
float step, minor_step, stepx, stepy;