Files
odin-base-road-network/src/common/structures.odin

17 lines
279 B
Odin

package common
import rl "vendor:raylib"
// Stores data about intersections
Intersection_Data :: struct {
// Index of the road that is intersected
road: u32,
// The exact point of intersection
point: rl.Vector2,
}
// Tracks the entity type
Entity :: enum {
Node,
Road,
}