From f9158592e1478b2013afc7041d9ed041cf2d2f4a Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Mon, 13 Jan 2014 19:47:58 +1000 Subject: Update Irrlicht to 1.8.1. Include actual change markers this time. lol --- .../doc/html/classirr_1_1core_1_1dimension2d.html | 769 +++++++++++++++++++++ 1 file changed, 769 insertions(+) create mode 100644 libraries/irrlicht-1.8.1/doc/html/classirr_1_1core_1_1dimension2d.html (limited to 'libraries/irrlicht-1.8.1/doc/html/classirr_1_1core_1_1dimension2d.html') diff --git a/libraries/irrlicht-1.8.1/doc/html/classirr_1_1core_1_1dimension2d.html b/libraries/irrlicht-1.8.1/doc/html/classirr_1_1core_1_1dimension2d.html new file mode 100644 index 0000000..7f5448b --- /dev/null +++ b/libraries/irrlicht-1.8.1/doc/html/classirr_1_1core_1_1dimension2d.html @@ -0,0 +1,769 @@ + + + + +Irrlicht 3D Engine: irr::core::dimension2d< T > Class Template Reference + + + + + + + + + + + + + + +
+ + +
+ + + + + + + + + + + + + + + + + +
+
Irrlicht 3D Engine + +
+ +
+ + + + + + +
+
+
+ + + + +
+
+ +
+
+
+ +
+
+ +
+
irr::core::dimension2d< T > Class Template Reference
+
+
+ +

Specifies a 2 dimensional size. + More...

+ +

#include <dimension2d.h>

+ +

List of all members.

+

+Public Member Functions

+ +

+Public Attributes

+ +

Detailed Description

+

template<class T>
+class irr::core::dimension2d< T >

+ +

Specifies a 2 dimensional size.

+ +

Definition at line 20 of file dimension2d.h.

+

Constructor & Destructor Documentation

+ +
+
+
+template<class T>
+ + + + + + + +
irr::core::dimension2d< T >::dimension2d () [inline]
+
+
+ +

Default constructor for empty dimension.

+ +

Definition at line 24 of file dimension2d.h.

+ +
+
+ +
+
+
+template<class T>
+ + + + + + + + + + + + + + + + + + +
irr::core::dimension2d< T >::dimension2d (const T & width,
const T & height 
) [inline]
+
+
+ +

Constructor with width and height.

+ +

Definition at line 26 of file dimension2d.h.

+ +
+
+ +
+
+
+template<class T>
+ + + + + + + + +
irr::core::dimension2d< T >::dimension2d (const vector2d< T > & other)
+
+
+ +

Definition at line 333 of file vector2d.h.

+ +
+
+ +
+
+
+template<class T>
+
+template<class U >
+ + + + + + + + +
irr::core::dimension2d< T >::dimension2d (const dimension2d< U > & other) [inline, explicit]
+
+
+ +

Use this constructor only where you are sure that the conversion is valid.

+ +

Definition at line 33 of file dimension2d.h.

+ +
+
+

Member Function Documentation

+ +
+
+
+template<class T>
+ + + + + + + +
T irr::core::dimension2d< T >::getArea () const [inline]
+
+
+ +

Get area.

+ +

Definition at line 130 of file dimension2d.h.

+ +
+
+ +
+
+
+template<class T>
+ + + + + + + + + + + + + + + + + + +
dimension2d<T> irr::core::dimension2d< T >::getInterpolated (const dimension2d< T > & other,
f32 d 
) const [inline]
+
+
+ +

Get the interpolated dimension.

+
Parameters:
+ + + +
otherOther dimension to interpolate with.
dValue between 0.0f and 1.0f.
+
+
+
Returns:
Interpolated dimension.
+ +

Definition at line 196 of file dimension2d.h.

+ +
+
+ +
+
+
+template<class T>
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
dimension2d<T> irr::core::dimension2d< T >::getOptimalSize (bool requirePowerOfTwo = true,
bool requireSquare = false,
bool larger = true,
u32 maxValue = 0 
) const [inline]
+
+
+ +

Get the optimal size according to some properties.

+

This is a function often used for texture dimension calculations. The function returns the next larger or smaller dimension which is a power-of-two dimension (2^n,2^m) and/or square (Width=Height).

+
Parameters:
+ + + + + +
requirePowerOfTwoForces the result to use only powers of two as values.
requireSquareMakes width==height in the result
largerChoose whether the result is larger or smaller than the current dimension. If one dimension need not be changed it is kept with any value of larger.
maxValueMaximum texturesize. if value > 0 size is clamped to maxValue
+
+
+
Returns:
The optimal dimension under the given constraints.
+ +

Definition at line 150 of file dimension2d.h.

+ +
+
+ +
+
+
+template<class T>
+ + + + + + + + +
bool irr::core::dimension2d< T >::operator!= (const dimension2d< T > & other) const [inline]
+
+
+ +

Inequality operator.

+ +

Definition at line 53 of file dimension2d.h.

+ +
+
+ +
+
+
+template<class T>
+ + + + + + + + +
bool irr::core::dimension2d< T >::operator!= (const vector2d< T > & other) const [inline]
+
+
+ +

Definition at line 60 of file dimension2d.h.

+ +
+
+ +
+
+
+template<class T>
+ + + + + + + + +
dimension2d<T> irr::core::dimension2d< T >::operator* (const T & scale) const [inline]
+
+
+ +

Multiply width and height by scalar.

+ +

Definition at line 96 of file dimension2d.h.

+ +
+
+ +
+
+
+template<class T>
+ + + + + + + + +
dimension2d<T>& irr::core::dimension2d< T >::operator*= (const T & scale) [inline]
+
+
+ +

Multiply width and height by scalar.

+ +

Definition at line 88 of file dimension2d.h.

+ +
+
+ +
+
+
+template<class T>
+ + + + + + + + +
dimension2d<T> irr::core::dimension2d< T >::operator+ (const dimension2d< T > & other) const [inline]
+
+
+ +

Add two dimensions.

+ +

Definition at line 110 of file dimension2d.h.

+ +
+
+ +
+
+
+template<class T>
+ + + + + + + + +
dimension2d<T>& irr::core::dimension2d< T >::operator+= (const dimension2d< T > & other) [inline]
+
+
+ +

Add another dimension to this one.

+ +

Definition at line 102 of file dimension2d.h.

+ +
+
+ +
+
+
+template<class T>
+ + + + + + + + +
dimension2d<T> irr::core::dimension2d< T >::operator- (const dimension2d< T > & other) const [inline]
+
+
+ +

Subtract one dimension from another.

+ +

Definition at line 124 of file dimension2d.h.

+ +
+
+ +
+
+
+template<class T>
+ + + + + + + + +
dimension2d<T>& irr::core::dimension2d< T >::operator-= (const dimension2d< T > & other) [inline]
+
+
+ +

Subtract a dimension from this one.

+ +

Definition at line 116 of file dimension2d.h.

+ +
+
+ +
+
+
+template<class T>
+ + + + + + + + +
dimension2d<T> irr::core::dimension2d< T >::operator/ (const T & scale) const [inline]
+
+
+ +

Divide width and height by scalar.

+ +

Definition at line 82 of file dimension2d.h.

+ +
+
+ +
+
+
+template<class T>
+ + + + + + + + +
dimension2d<T>& irr::core::dimension2d< T >::operator/= (const T & scale) [inline]
+
+
+ +

Divide width and height by scalar.

+ +

Definition at line 74 of file dimension2d.h.

+ +
+
+ +
+
+
+template<class T>
+
+template<class U >
+ + + + + + + + +
dimension2d<T>& irr::core::dimension2d< T >::operator= (const dimension2d< U > & other) [inline]
+
+
+ +

Definition at line 37 of file dimension2d.h.

+ +
+
+ +
+
+
+template<class T>
+ + + + + + + + +
bool irr::core::dimension2d< T >::operator== (const dimension2d< T > & other) const [inline]
+
+
+ +

Equality operator.

+ +

Definition at line 46 of file dimension2d.h.

+ +
+
+ +
+
+
+template<class T>
+ + + + + + + + +
bool irr::core::dimension2d< T >::operator== (const vector2d< T > & other) const
+
+
+ +

Definition at line 336 of file vector2d.h.

+ +

References irr::core::vector2d< T >::X, and irr::core::vector2d< T >::Y.

+ +
+
+ +
+
+
+template<class T>
+ + + + + + + + + + + + + + + + + + +
dimension2d<T>& irr::core::dimension2d< T >::set (const T & width,
const T & height 
) [inline]
+
+
+ +

Set to new values.

+ +

Definition at line 66 of file dimension2d.h.

+ +
+
+

Member Data Documentation

+ + + + +
The documentation for this class was generated from the following files: +
+
+ + + + + -- cgit v1.1