mirror of
https://github.com/odin-lang/Odin.git
synced 2026-07-10 18:09:32 +00:00
Add box3d.lib for Windows
This commit is contained in:
13
vendor/box3d/box3d.odin
vendored
13
vendor/box3d/box3d.odin
vendored
@@ -7,9 +7,16 @@ import "core:c"
|
||||
|
||||
ENABLE_VALIDATION :: false
|
||||
|
||||
@(export)
|
||||
foreign import lib {
|
||||
"box3d.lib",
|
||||
when ODIN_OS == .Windows {
|
||||
@(export)
|
||||
foreign import lib {
|
||||
"lib/box3d.lib",
|
||||
}
|
||||
} else {
|
||||
@(export)
|
||||
foreign import lib {
|
||||
"system:box3d",
|
||||
}
|
||||
}
|
||||
|
||||
// This is used to indicate null for interfaces that work with indices instead of pointers
|
||||
|
||||
BIN
vendor/box3d/lib/box3d.lib
vendored
Normal file
BIN
vendor/box3d/lib/box3d.lib
vendored
Normal file
Binary file not shown.
Reference in New Issue
Block a user