mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2024-11-22 00:48:09 +01:00
Added set_all() to Vector3i.
This commit is contained in:
parent
2b24871814
commit
33b0d2da34
@ -67,6 +67,10 @@ struct _NO_DISCARD_CLASS_ Vector3i {
|
||||
void set_axis(const int p_axis, const int32_t p_value);
|
||||
int32_t get_axis(const int p_axis) const;
|
||||
|
||||
_FORCE_INLINE_ void set_all(int32_t p_value) {
|
||||
x = y = z = p_value;
|
||||
}
|
||||
|
||||
Vector3i::Axis min_axis() const;
|
||||
Vector3i::Axis max_axis() const;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user