Skip to content

Commit bd3e658

Browse files
committed
Efficiency for thread completion of rendered pixels (less time for locks)
Supported WxWidgets 2.9+ (through preprocessor global setting, manually set) Reworked Thread Cleaning up for other versions of WxWidgets. Fixed Unhanded Expression errors by changing how the Thread / Queue system handles exit commands (no longer using try/catch for that). Fixed Exit command on Threads to when successful exit 0 (previously 5003 wxDefault success, but looks like an error in Output console) Fixed Issues to Build in Unix and MacOSX environments -Next update support for Unix / Project file with tutorial Signed-off-by: Daniel Rosser <[email protected]>
1 parent 6a99fc7 commit bd3e658

File tree

9 files changed

+349
-203
lines changed

9 files changed

+349
-203
lines changed

wxRaytracer/raytracer/Cameras/Camera.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
#include "Point3D.h"
88
#include "Vector3D.h"
9-
#include "Multithread.h"
9+
#include "MultiThread.h"
1010
#include <vector>
1111

1212

@@ -171,4 +171,4 @@ inline void
171171
Camera::render_stereo(const World& w, float x, int pixel_offset, const std::vector<Pixel>& pixels)
172172
{}
173173

174-
#endif
174+
#endif

0 commit comments

Comments
 (0)