src/miscallenous.cc

changeset 852
cbd89b33f70d
parent 850
a3d72b0e916d
child 859
ebc7a186699c
equal deleted inserted replaced
851:dbed6938238c 852:cbd89b33f70d
97 97
98 // ============================================================================= 98 // =============================================================================
99 // 99 //
100 // Grid stuff 100 // Grid stuff
101 // 101 //
102 CFGENTRY (Int, Grid, Grid::Medium); 102 CFGENTRY (Int, Grid, Grid::Medium)
103 CFGENTRY (Float, GridCoarseCoordinateSnap, 5.0f); 103 CFGENTRY (Float, GridCoarseCoordinateSnap, 5.0f)
104 CFGENTRY (Float, GridCoarseAngleSnap, 45.0f); 104 CFGENTRY (Float, GridCoarseAngleSnap, 45.0f)
105 CFGENTRY (Float, GridMediumCoordinateSnap, 1.0f); 105 CFGENTRY (Float, GridMediumCoordinateSnap, 1.0f)
106 CFGENTRY (Float, GridMediumAngleSnap, 22.5f); 106 CFGENTRY (Float, GridMediumAngleSnap, 22.5f)
107 CFGENTRY (Float, GridFineCoordinateSnap, 0.1f); 107 CFGENTRY (Float, GridFineCoordinateSnap, 0.1f)
108 CFGENTRY (Float, GridFineAngleSnap, 7.5f); 108 CFGENTRY (Float, GridFineAngleSnap, 7.5f)
109 CFGENTRY (Int, RotationPointType, 0); 109 CFGENTRY (Int, RotationPointType, 0)
110 CFGENTRY (Vertex, CustomRotationPoint, g_origin); 110 CFGENTRY (Vertex, CustomRotationPoint, g_origin)
111 111
112 const gridinfo g_gridInfo[3] = 112 const gridinfo g_gridInfo[3] =
113 { 113 {
114 { "Coarse", &cfg::GridCoarseCoordinateSnap, &cfg::GridCoarseAngleSnap }, 114 { "Coarse", &cfg::GridCoarseCoordinateSnap, &cfg::GridCoarseAngleSnap },
115 { "Medium", &cfg::GridMediumCoordinateSnap, &cfg::GridMediumAngleSnap }, 115 { "Medium", &cfg::GridMediumCoordinateSnap, &cfg::GridMediumAngleSnap },

mercurial