Implementation of road intersections and road splitting (halfway)
This commit is contained in:
@@ -15,5 +15,6 @@ ROAD_COLOUR :: rl.BLACK
|
||||
NODE_DONE_COLOUR :: rl.BROWN
|
||||
NODE_BUILD_COLOUR :: rl.GOLD
|
||||
NODE_CURSOR_COLOUR :: rl.BLUE
|
||||
NODE_SNAP_COLOUR :: rl.PINK
|
||||
|
||||
BACKGROUND_COLOUR :: rl.LIGHTGRAY
|
||||
8
common/structures.odin
Normal file
8
common/structures.odin
Normal file
@@ -0,0 +1,8 @@
|
||||
package common
|
||||
|
||||
import rl "vendor:raylib"
|
||||
|
||||
Intersection_Data :: struct {
|
||||
road: u32,
|
||||
point: rl.Vector2,
|
||||
}
|
||||
Reference in New Issue
Block a user