ImGui Helper.
More...
Go to the source code of this file.
|
constexpr ImVec4 | operator* (const float &lhs, const ImVec4 &rhs) |
| Scalar multiplication operator.
|
|
constexpr ImVec4 | operator* (const ImVec4 &lhs, const float &rhs) |
| Scalar multiplication operator.
|
|
constexpr ImVec4 | operator+ (const ImVec4 &lhs, const ImVec4 &rhs) |
| Add operator.
|
|
constexpr ImVec4 | operator- (const ImVec4 &lhs, const ImVec4 &rhs) |
| Subtract operator.
|
|
constexpr ImVec4 | operator/ (const ImVec4 &lhs, const float &rhs) |
| Scalar multiplication operator.
|
|
◆ operator*() [1/2]
constexpr ImVec4 operator* |
( |
const float & | lhs, |
|
|
const ImVec4 & | rhs ) |
|
constexpr |
Scalar multiplication operator.
- Parameters
-
lhs | Left-hand side |
rhs | Right-hand side |
- Returns
- Computation result
◆ operator*() [2/2]
constexpr ImVec4 operator* |
( |
const ImVec4 & | lhs, |
|
|
const float & | rhs ) |
|
constexpr |
Scalar multiplication operator.
- Parameters
-
lhs | Left-hand side |
rhs | Right-hand side |
- Returns
- Computation result
◆ operator+()
constexpr ImVec4 operator+ |
( |
const ImVec4 & | lhs, |
|
|
const ImVec4 & | rhs ) |
|
constexpr |
Add operator.
- Parameters
-
lhs | Left-hand side |
rhs | Right-hand side |
- Returns
- Computation result
◆ operator-()
constexpr ImVec4 operator- |
( |
const ImVec4 & | lhs, |
|
|
const ImVec4 & | rhs ) |
|
constexpr |
Subtract operator.
- Parameters
-
lhs | Left-hand side |
rhs | Right-hand side |
- Returns
- Computation result
◆ operator/()
constexpr ImVec4 operator/ |
( |
const ImVec4 & | lhs, |
|
|
const float & | rhs ) |
|
constexpr |
Scalar multiplication operator.
- Parameters
-
lhs | Left-hand side |
rhs | Right-hand side |
- Returns
- Computation result