![]() |
Paradox Game Engine
v1.0.0 beta06
|
Public Member Functions | |
| Rational (int numerator, int denominator) | |
| override string | ToString () |
| bool | Equals (Rational other) |
| override bool | Equals (object obj) |
| override int | GetHashCode () |
Static Public Member Functions | |
| static bool | operator== (Rational left, Rational right) |
| static bool | operator!= (Rational left, Rational right) |
Public Attributes | |
| int | Numerator |
| int | Denominator |
Represents a rational number.
The SharpDX.DXGI.Rational structure operates under the following rules:
Definition at line 13 of file Rational.cs.
| SiliconStudio.Paradox.Graphics.Rational.Rational | ( | int | numerator, |
| int | denominator | ||
| ) |
Definition at line 15 of file Rational.cs.
| bool SiliconStudio.Paradox.Graphics.Rational.Equals | ( | Rational | other | ) |
Definition at line 36 of file Rational.cs.
| override bool SiliconStudio.Paradox.Graphics.Rational.Equals | ( | object | obj | ) |
Definition at line 41 of file Rational.cs.
| override int SiliconStudio.Paradox.Graphics.Rational.GetHashCode | ( | ) |
Definition at line 47 of file Rational.cs.
|
static |
Definition at line 60 of file Rational.cs.
|
static |
Definition at line 55 of file Rational.cs.
| override string SiliconStudio.Paradox.Graphics.Rational.ToString | ( | ) |
Definition at line 31 of file Rational.cs.
| int SiliconStudio.Paradox.Graphics.Rational.Denominator |
An unsigned integer value representing the bottom of the rational number.
Definition at line 29 of file Rational.cs.
| int SiliconStudio.Paradox.Graphics.Rational.Numerator |
An unsigned integer value representing the top of the rational number.
Definition at line 24 of file Rational.cs.