Reformat code in Math libary
This commit is contained in:
@@ -13,7 +13,6 @@ struct Rectangle;
|
||||
API_STRUCT(InBuild) struct FLAXENGINE_API Viewport
|
||||
{
|
||||
public:
|
||||
|
||||
union
|
||||
{
|
||||
struct
|
||||
@@ -51,7 +50,6 @@ public:
|
||||
float MaxDepth;
|
||||
|
||||
public:
|
||||
|
||||
/// <summary>
|
||||
/// Empty constructor.
|
||||
/// </summary>
|
||||
@@ -110,11 +108,9 @@ public:
|
||||
Viewport(const Rectangle& bounds);
|
||||
|
||||
public:
|
||||
|
||||
String ToString() const;
|
||||
|
||||
public:
|
||||
|
||||
// Gets the aspect ratio used by the viewport
|
||||
// @returns The aspect ratio
|
||||
float GetAspectRatio() const
|
||||
@@ -135,7 +131,6 @@ public:
|
||||
void SetBounds(const Rectangle& bounds);
|
||||
|
||||
public:
|
||||
|
||||
bool operator==(const Viewport& other) const
|
||||
{
|
||||
return X == other.X && Y == other.Y && Width == other.Width && Height == other.Height && MinDepth == other.MinDepth && MaxDepth == other.MaxDepth;
|
||||
@@ -147,7 +142,6 @@ public:
|
||||
}
|
||||
|
||||
public:
|
||||
|
||||
// Projects a 3D vector from object space into screen space
|
||||
// @param source The vector to project
|
||||
// @param vp A combined WorldViewProjection matrix
|
||||
|
||||
Reference in New Issue
Block a user