ToyMaker Game Engine 0.0.2
ToyMaker is a game engine developed and maintained by Zoheb Shujauddin.
Loading...
Searching...
No Matches
sweep_prune.hpp File Reference

Acceleration structure for finding pairs of objects whose AABBs are intersecting. More...

#include "types.hpp"
#include "../core/ecs_world.hpp"

Go to the source code of this file.

Classes

class  ToyMaker::CollisionPair
 Names two distinct entities participating in a collision, with their entity IDs sorted in ascending order. More...
class  ToyMaker::SweepPrune
 A class designed around finding which pairs of AABBs may be intersecting (so as to limit the number of full collision checks that need be performed). More...
struct  ToyMaker::SweepPrune::Object
 Contains the start and end indices of a sweep and prune object in each dimension's edge list. More...
struct  ToyMaker::SweepPrune::Edge
 Represents the projection of a bounding box along the axis represented by the edge list that this item appears in. More...

Namespaces

namespace  ToyMaker
 Namespace containing all class definitions and functions related to the ToyMaker engine.

Detailed Description

Acceleration structure for finding pairs of objects whose AABBs are intersecting.

Author
Zoheb Shujauddin (zoheb.nosp@m.2424.nosp@m.@gmai.nosp@m.l.co.nosp@m.m)
Version
0.3.2
Date
2025-09-10