From 9b83919815f6a6ce5d73da1c28483970d0ca5589 Mon Sep 17 00:00:00 2001 From: unknown Date: Wed, 3 Feb 2021 14:22:28 -0600 Subject: added dev/MinGfx/ --- dev/MinGfx/docs/html/vector2_8h.html | 149 +++++++++++++++++++++++++++++++++++ 1 file changed, 149 insertions(+) create mode 100644 dev/MinGfx/docs/html/vector2_8h.html (limited to 'dev/MinGfx/docs/html/vector2_8h.html') diff --git a/dev/MinGfx/docs/html/vector2_8h.html b/dev/MinGfx/docs/html/vector2_8h.html new file mode 100644 index 0000000..b035960 --- /dev/null +++ b/dev/MinGfx/docs/html/vector2_8h.html @@ -0,0 +1,149 @@ + + + + + + + +MinGfx Toolkit: src/vector2.h File Reference + + + + + + + + + + + + +
+
+ + + + + + +
+
MinGfx Toolkit +  1.0 +
+
A minimal library for writing cross-platform (Windows, OSX, linux) graphics programs.
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+ +
+
vector2.h File Reference
+
+
+
#include <iostream>
+#include "point2.h"
+
+

Go to the source code of this file.

+ + + + + +

+Classes

class  mingfx::Vector2
 A 2D Vector with floating point coordinates, used for storing 2D translations, mouse movements, and screen-space vectors. More...
 
+ + + + +

+Namespaces

 mingfx
 Namespace for the MinGfx Toolkit.
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Functions

Vector2 mingfx::operator/ (const Vector2 &v, const float s)
 Divide the vector by the scalar s. More...
 
Vector2 mingfx::operator* (const float s, const Vector2 &v)
 Multiply the vector by the scalar s. More...
 
Vector2 mingfx::operator* (const Vector2 &v, const float s)
 Multiply the vector by the scalar s. More...
 
Vector2 mingfx::operator- (const Vector2 &v)
 Negate the vector. More...
 
Point2 mingfx::operator+ (const Vector2 &v, const Point2 &p)
 Adds a vector and a point, returns a point. More...
 
Point2 mingfx::operator+ (const Point2 &p, const Vector2 &v)
 Adds a point and a vector, returns a point. More...
 
Vector2 mingfx::operator+ (const Vector2 &v1, const Vector2 &v2)
 Adds a vector and a vector, returns a vector. More...
 
Point2 mingfx::operator- (const Point2 &p, const Vector2 &v)
 Subtracts a vector from a point, returns a point. More...
 
Vector2 mingfx::operator- (const Vector2 &v1, const Vector2 &v2)
 Subtracts v2 from v1, returns a vector. More...
 
Vector2 mingfx::operator- (const Point2 &p1, const Point2 &p2)
 Returns the vector spanning p1 and p2. More...
 
std::ostream & mingfx::operator<< (std::ostream &os, const Vector2 &v)
 
std::istream & mingfx::operator>> (std::istream &is, Vector2 &v)
 
+
+ + + + + -- cgit v1.2.3