Skip to main content
deleted 4 characters in body
Source Link
concept3d
  • 12.8k
  • 4
  • 46
  • 57

Well, I will assume you will need to draw the boudningbounding boxes for debugging only, if I were you I will go with the easier solution,solution; the solution that won't let me change a lot of code, and since Since this is only for debugging I will not be concerned a lot about performance (even though your 2nd solution might be better for performance), you can introduce a preprocessor tag (assuming you are using C/C++) that will disable the box rendering piece of code in release mode, or you can do it in real time by using a flag to render or not.

Well, I will assume you will need to draw the boudning boxes for debugging only, if I were you I will go with the easier solution, the solution that won't let me change a lot of code, and since this is only for debugging I will not be concerned a lot about performance (even though your 2nd solution might be better for performance), you can introduce a preprocessor tag (assuming you are using C/C++) that will disable the box rendering piece of code in release mode, or you can do it in real time by using a flag to render or not.

Well, I will assume you will need to draw the bounding boxes for debugging only, if I were you I will go with the easier solution; the solution that won't let me change a lot of code Since this is only for debugging I will not be concerned a lot about performance (even though your 2nd solution might be better for performance), you can introduce a preprocessor tag (assuming you are using C/C++) that will disable the box rendering piece of code in release mode, or you can do it in real time by using a flag to render or not.

added 70 characters in body
Source Link
concept3d
  • 12.8k
  • 4
  • 46
  • 57

Well, I will assume you will need to draw the boudning boxes for debugging only, if I were you I will go with the easier solution, the solution that won't let me change a lot of code, and since this is only for debugging I will not be concerned a lot about performance (even though your 2nd solution might be better for performance), since you can introduceintroduce a preprocessor tag (assuming you are using C/C++) that will disable thisthe box rendering piece of code in release mode, Oror you can do it in real time by using a flag to render or not.

Well, I will assume you will need to draw the boudning boxes for debugging only, if I were you I will go with the easier solution, the solution that won't let me change a lot of code, and since this is only for debugging I will not be concerned a lot about performance, since you can introduce a preprocessor tag (assuming you are using C/C++) that will disable this piece of code in release mode, Or you can do it in real time by using a flag to render or not.

Well, I will assume you will need to draw the boudning boxes for debugging only, if I were you I will go with the easier solution, the solution that won't let me change a lot of code, and since this is only for debugging I will not be concerned a lot about performance (even though your 2nd solution might be better for performance), you can introduce a preprocessor tag (assuming you are using C/C++) that will disable the box rendering piece of code in release mode, or you can do it in real time by using a flag to render or not.

Source Link
concept3d
  • 12.8k
  • 4
  • 46
  • 57

Well, I will assume you will need to draw the boudning boxes for debugging only, if I were you I will go with the easier solution, the solution that won't let me change a lot of code, and since this is only for debugging I will not be concerned a lot about performance, since you can introduce a preprocessor tag (assuming you are using C/C++) that will disable this piece of code in release mode, Or you can do it in real time by using a flag to render or not.