21 lines
453 B
Odin
21 lines
453 B
Odin
package physics
|
|
//
|
|
// @(test)
|
|
// test_code :: proc() {
|
|
// cont: Shape_Container
|
|
// root := Shape_Desc {
|
|
// shape = Shape_Desc_Union{},
|
|
// }
|
|
//
|
|
// shape_desc_add_child(
|
|
// &root,
|
|
// Shape_Desc{pos = rl.Vector3{5, 0, 0}, shape = Shape_Sphere{radius = 10}},
|
|
// )
|
|
// shape_desc_add_child(
|
|
// &root,
|
|
// Shape_Desc{pos = rl.Vector3{-5, 0, 0}, shape = Shape_Sphere{radius = 10}},
|
|
// )
|
|
//
|
|
// handle := shape_container_add(&cont, root)
|
|
// }
|