mirror of
https://github.com/cyberarm/i-mic-fps.git
synced 2025-12-15 15:42:35 +00:00
Moved OBJ parser out of Model, added axis-aligned bounding boxes, added --debug, bounding boxes can be rendered.
This commit is contained in:
@@ -16,7 +16,10 @@ else
|
||||
raise RuntimeError, "Unsupported platform."
|
||||
end
|
||||
|
||||
BoundingBox = Struct.new(:min_x, :min_y, :min_z, :max_x, :max_y, :max_z)
|
||||
|
||||
require_relative "lib/objects/light"
|
||||
require_relative "lib/wavefront/parser"
|
||||
require_relative "lib/wavefront/model"
|
||||
require_relative "lib/wavefront/object"
|
||||
require_relative "lib/wavefront/material"
|
||||
|
||||
Reference in New Issue
Block a user