Merge branch 'develop' into octree
Worked on print funcitons.
Work in progress. Sigfault on print.
Solved null ptr exception. This solution should be a lot safer then the thing I had before.
Working on octree did some improvements to output for debugging. Seems to be something wrong in getQuadrant. Will try to find what it is later, but it seems to be returning wrong value for some reason.
Solved error of bounding boxes by updating origin.
Started working on intersection between ray and octree.
Intersection when first ray was outside of scene bounding box fixe
Working on adding. Might be something wrong somewhere.
Some improvements to tree traversal with rays.
Some improvements to tree traversal with rays.
Fixed bugg when adding leafs where nodes were recreated which caused for lost data.
Added extra sphere. Time to get off train commit!
No way to see the whole function on this small screen. Still trying to figure it out.
Makes little sense why this is not working.
Fix so all objects are in root of octree
Merge branch 'octree' into develop