Add missing FLAXENGINE_API expose macro to engine math types
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
/// <summary>
|
||||
/// Integer axis aligned bounding box
|
||||
/// </summary>
|
||||
struct AABB
|
||||
struct FLAXENGINE_API AABB
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
/// <summary>
|
||||
/// Defines a frustum which can be used in frustum culling, zoom to Extents (zoom to fit) operations, (matrix, frustum, camera) interchange, and many kind of intersection testing.
|
||||
/// </summary>
|
||||
API_STRUCT(InBuild) struct BoundingFrustum
|
||||
API_STRUCT(InBuild) struct FLAXENGINE_API BoundingFrustum
|
||||
{
|
||||
private:
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@ typedef uint16 Half;
|
||||
|
||||
#define USE_SSE_HALF_CONVERSION 0
|
||||
|
||||
class Float16Compressor
|
||||
class FLAXENGINE_API Float16Compressor
|
||||
{
|
||||
union Bits
|
||||
{
|
||||
@@ -108,7 +108,7 @@ inline Half ConvertFloatToHalf(const float value)
|
||||
/// <summary>
|
||||
/// Defines a two component vector, using half precision floating point coordinates.
|
||||
/// </summary>
|
||||
struct Half2
|
||||
struct FLAXENGINE_API Half2
|
||||
{
|
||||
public:
|
||||
|
||||
@@ -167,7 +167,7 @@ public:
|
||||
/// <summary>
|
||||
/// Defines a three component vector, using half precision floating point coordinates.
|
||||
/// </summary>
|
||||
struct Half3
|
||||
struct FLAXENGINE_API Half3
|
||||
{
|
||||
public:
|
||||
|
||||
@@ -216,7 +216,7 @@ public:
|
||||
/// <summary>
|
||||
/// Defines a four component vector, using half precision floating point coordinates.
|
||||
/// </summary>
|
||||
struct Half4
|
||||
struct FLAXENGINE_API Half4
|
||||
{
|
||||
public:
|
||||
|
||||
@@ -270,16 +270,12 @@ public:
|
||||
}
|
||||
|
||||
explicit Half4(const Vector4& v);
|
||||
|
||||
explicit Half4(const Color& c);
|
||||
|
||||
explicit Half4(const Rectangle& rect);
|
||||
|
||||
public:
|
||||
|
||||
Vector2 ToVector2() const;
|
||||
|
||||
Vector3 ToVector3() const;
|
||||
|
||||
Vector4 ToVector4() const;
|
||||
};
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
/// <summary>
|
||||
/// Represents a 3x3 mathematical matrix.
|
||||
/// </summary>
|
||||
API_STRUCT(InBuild) struct Matrix3x3
|
||||
API_STRUCT(InBuild) struct FLAXENGINE_API Matrix3x3
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
#include "CollisionsHelper.h"
|
||||
|
||||
// Oriented Bounding Box (OBB) is a rectangular block, much like an AABB (Bounding Box) but with an arbitrary orientation in 3D space.
|
||||
API_STRUCT(InBuild) struct OrientedBoundingBox
|
||||
API_STRUCT(InBuild) struct FLAXENGINE_API OrientedBoundingBox
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ typedef Half Float16;
|
||||
/// <summary>
|
||||
/// Packed vector, layout: R:10 bytes, G:10 bytes, B:10 bytes, A:2 bytes, all values are stored as floats in range [0;1].
|
||||
/// </summary>
|
||||
struct Float1010102
|
||||
struct FLAXENGINE_API Float1010102
|
||||
{
|
||||
union
|
||||
{
|
||||
@@ -64,7 +64,7 @@ public:
|
||||
};
|
||||
|
||||
// The 3D vector is packed into 32 bits with 11/11/10 bits per floating-point component.
|
||||
struct FloatR11G11B10
|
||||
struct FLAXENGINE_API FloatR11G11B10
|
||||
{
|
||||
union
|
||||
{
|
||||
@@ -118,7 +118,7 @@ public:
|
||||
Vector3 ToVector3() const;
|
||||
};
|
||||
|
||||
struct RG16UNorm
|
||||
struct FLAXENGINE_API RG16UNorm
|
||||
{
|
||||
uint16 X, Y;
|
||||
|
||||
@@ -131,7 +131,7 @@ struct RG16UNorm
|
||||
Vector2 ToVector2() const;
|
||||
};
|
||||
|
||||
struct RGBA16UNorm
|
||||
struct FLAXENGINE_API RGBA16UNorm
|
||||
{
|
||||
uint16 X, Y, Z, W;
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
/// <summary>
|
||||
/// Represents a plane in three dimensional space.
|
||||
/// </summary>
|
||||
API_STRUCT() struct Plane
|
||||
API_STRUCT() struct FLAXENGINE_API Plane
|
||||
{
|
||||
DECLARE_SCRIPTING_TYPE_MINIMAL(Plane);
|
||||
public:
|
||||
|
||||
@@ -11,7 +11,7 @@ struct Viewport;
|
||||
/// <summary>
|
||||
/// Represents a three dimensional line based on a point in space and a direction.
|
||||
/// </summary>
|
||||
API_STRUCT() struct Ray
|
||||
API_STRUCT() struct FLAXENGINE_API Ray
|
||||
{
|
||||
DECLARE_SCRIPTING_TYPE_MINIMAL(Ray);
|
||||
public:
|
||||
|
||||
@@ -10,7 +10,6 @@
|
||||
API_STRUCT() struct FLAXENGINE_API Rectangle
|
||||
{
|
||||
DECLARE_SCRIPTING_TYPE_MINIMAL(Rectangle);
|
||||
public:
|
||||
|
||||
/// <summary>
|
||||
/// The empty rectangle.
|
||||
|
||||
@@ -11,10 +11,9 @@ struct Matrix;
|
||||
/// <summary>
|
||||
/// Describes transformation in a 3D space.
|
||||
/// </summary>
|
||||
API_STRUCT() struct Transform
|
||||
API_STRUCT() struct FLAXENGINE_API Transform
|
||||
{
|
||||
DECLARE_SCRIPTING_TYPE_MINIMAL(Transform);
|
||||
public:
|
||||
|
||||
/// <summary>
|
||||
/// The translation vector of the transform.
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
/// <summary>
|
||||
/// Represents a three dimensional triangle.
|
||||
/// </summary>
|
||||
struct Triangle
|
||||
struct FLAXENGINE_API Triangle
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ struct Vector4;
|
||||
/// <summary>
|
||||
/// Two-components vector (32 bit integer type).
|
||||
/// </summary>
|
||||
API_STRUCT(InBuild) struct Int2
|
||||
API_STRUCT(InBuild) struct FLAXENGINE_API Int2
|
||||
{
|
||||
public:
|
||||
|
||||
@@ -273,7 +273,7 @@ public:
|
||||
/// <summary>
|
||||
/// Three-components vector (32 bit integer type).
|
||||
/// </summary>
|
||||
API_STRUCT(InBuild) struct Int3
|
||||
API_STRUCT(InBuild) struct FLAXENGINE_API Int3
|
||||
{
|
||||
public:
|
||||
|
||||
@@ -382,7 +382,7 @@ public:
|
||||
/// <summary>
|
||||
/// Four-components vector (32 bit integer type).
|
||||
/// </summary>
|
||||
API_STRUCT(InBuild) struct Int4
|
||||
API_STRUCT(InBuild) struct FLAXENGINE_API Int4
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@ struct Matrix;
|
||||
struct Rectangle;
|
||||
|
||||
// Describes the viewport dimensions.
|
||||
API_STRUCT(InBuild) struct Viewport
|
||||
API_STRUCT(InBuild) struct FLAXENGINE_API Viewport
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user