Skip to content
Extraits de code Groupes Projets
Valider 80cb3d04 rédigé par Thomas Goyne's avatar Thomas Goyne
Parcourir les fichiers

Make the X/Y rotation grid much bigger

This is still a totally arbitrary size. Maybe it should be customizable
or adaptive somehow?
parent 41434ec5
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -50,7 +50,7 @@ void VisualToolRotateXY::Draw() { ...@@ -50,7 +50,7 @@ void VisualToolRotateXY::Draw() {
float b = colour[0].Blue() / 255.f; float b = colour[0].Blue() / 255.f;
// Number of lines on each side of each axis // Number of lines on each side of each axis
static const int radius = 5; static const int radius = 15;
// Total number of lines, including center axis line // Total number of lines, including center axis line
static const int line_count = radius * 2 + 1; static const int line_count = radius * 2 + 1;
// Distance between each line in pixels // Distance between each line in pixels
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter