summaryrefslogtreecommitdiffstatshomepage
path: root/3rdparty/bgfx/examples/common/debugdraw/debugdraw.h
diff options
context:
space:
mode:
author Miodrag Milanović <mmicko@gmail.com>2023-01-05 05:12:10 +0100
committer GitHub <noreply@github.com>2023-01-04 23:12:10 -0500
commit5581eaa50a42256242f32569f59ce10d70ddd8c2 (patch)
tree0d79e41b381ebf6d50ab5b7e20c0993b7328b5b6 /3rdparty/bgfx/examples/common/debugdraw/debugdraw.h
parent34c37d4f5415f886ec3ae462b008cebbf5fa22f9 (diff)
Update BGFX, BX and BIMG (#10750)
* Update to bgfx a93a714632b79b5ddbf5c86ac323fa9b76ed3433 Co-authored-by: Бранимир Караџић <branimirkaradzic@gmail.com>
Diffstat (limited to '3rdparty/bgfx/examples/common/debugdraw/debugdraw.h')
-rw-r--r--3rdparty/bgfx/examples/common/debugdraw/debugdraw.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/3rdparty/bgfx/examples/common/debugdraw/debugdraw.h b/3rdparty/bgfx/examples/common/debugdraw/debugdraw.h
index d6af8708004..7770ed15e51 100644
--- a/3rdparty/bgfx/examples/common/debugdraw/debugdraw.h
+++ b/3rdparty/bgfx/examples/common/debugdraw/debugdraw.h
@@ -1,14 +1,14 @@
/*
- * Copyright 2011-2021 Branimir Karadzic. All rights reserved.
- * License: https://github.com/bkaradzic/bgfx#license-bsd-2-clause
+ * Copyright 2011-2022 Branimir Karadzic. All rights reserved.
+ * License: https://github.com/bkaradzic/bgfx/blob/master/LICENSE
*/
#ifndef DEBUGDRAW_H_HEADER_GUARD
#define DEBUGDRAW_H_HEADER_GUARD
#include <bx/allocator.h>
+#include <bx/bounds.h>
#include <bgfx/bgfx.h>
-#include "../bounds.h"
struct Axis
{
@@ -121,28 +121,28 @@ struct DebugDrawEncoder
void close();
///
- void draw(const Aabb& _aabb);
+ void draw(const bx::Aabb& _aabb);
///
- void draw(const Cylinder& _cylinder);
+ void draw(const bx::Cylinder& _cylinder);
///
- void draw(const Capsule& _capsule);
+ void draw(const bx::Capsule& _capsule);
///
- void draw(const Disk& _disk);
+ void draw(const bx::Disk& _disk);
///
- void draw(const Obb& _obb);
+ void draw(const bx::Obb& _obb);
///
- void draw(const Sphere& _sphere);
+ void draw(const bx::Sphere& _sphere);
///
- void draw(const Triangle& _triangle);
+ void draw(const bx::Triangle& _triangle);
///
- void draw(const Cone& _cone);
+ void draw(const bx::Cone& _cone);
///
void draw(GeometryHandle _handle);