Added implicit conversion from AABB to String
Former-commit-id: c41510f4e0527a174d4acb5f8f26f60f4984ce15
This commit is contained in:
parent
1b3129868f
commit
9199e60436
|
|
@ -38,6 +38,8 @@ class NAZARA_API NzAxisAlignedBox
|
|||
|
||||
NzString ToString() const;
|
||||
|
||||
operator NzString() const;
|
||||
|
||||
static NzAxisAlignedBox Lerp(const NzAxisAlignedBox& from, const NzAxisAlignedBox& to, float interpolation);
|
||||
|
||||
static const NzAxisAlignedBox Infinite;
|
||||
|
|
|
|||
|
|
@ -155,6 +155,11 @@ NzString NzAxisAlignedBox::ToString() const
|
|||
return "NzAxisAlignedBox(ERROR)";
|
||||
}
|
||||
|
||||
NzAxisAlignedBox::operator NzString() const
|
||||
{
|
||||
return ToString();
|
||||
}
|
||||
|
||||
NzAxisAlignedBox NzAxisAlignedBox::Lerp(const NzAxisAlignedBox& from, const NzAxisAlignedBox& to, float interpolation)
|
||||
{
|
||||
#ifdef NAZARA_DEBUG
|
||||
|
|
|
|||
Loading…
Reference in New Issue