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

16 lines
253 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,
}
Entity :: enum {
Node,
Road,
}