|
struct { | |
|
float x | |
|
float y | |
|
float z | |
|
}; | | |
|
float | data [3] |
|
Definition at line 96 of file base_types.hpp.
◆ clear()
void bnb::point3d::clear |
( |
| ) |
|
|
inline |
◆ operator*() [1/2]
Definition at line 129 of file base_types.hpp.
130 {
131 return point3d{x * p.x, y * p.y, z * p.z};
132 }
◆ operator*() [2/2]
point3d bnb::point3d::operator* |
( |
float | a | ) |
const |
|
inlinenoexcept |
Definition at line 134 of file base_types.hpp.
135 {
136 return point3d{x * a, y * a, z * a};
137 }
◆ operator+()
Definition at line 144 of file base_types.hpp.
145 {
146 return point3d{x + p.x, y + p.y, z + p.z};
147 }
◆ operator-()
Definition at line 139 of file base_types.hpp.
140 {
141 return point3d{x - p.x, y - p.y, z - p.z};
142 }
◆ operator/() [1/2]
Definition at line 119 of file base_types.hpp.
120 {
121 return point3d{x / p.x, y / p.y, z / p.z};
122 }
◆ operator/() [2/2]
point3d bnb::point3d::operator/ |
( |
float | f | ) |
const |
|
inlinenoexcept |
Definition at line 124 of file base_types.hpp.
125 {
126 return point3d{x / f, y / f, z / f};
127 }
◆ sqr()
point3d bnb::point3d::sqr |
( |
| ) |
const |
|
inlinenoexcept |
◆ sum()
float bnb::point3d::sum |
( |
| ) |
|
|
inline |
◆ data
float bnb::point3d::data[3] |
The documentation for this union was generated from the following file:
- /Users/itumashyk/Workspace/banuba_sdk/libs/types/bnb/types/base_types.hpp