mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2024-12-13 03:34:35 +00:00
Add single-arg constructor for vec2_s16.
This commit is contained in:
parent
229616491c
commit
cd31ae86d7
@ -41,6 +41,12 @@ struct vec2_s16 {
|
||||
{
|
||||
}
|
||||
|
||||
constexpr vec2_s16(
|
||||
const int16_t v
|
||||
) : v { v, v }
|
||||
{
|
||||
}
|
||||
|
||||
constexpr vec2_s16(
|
||||
const int16_t v0,
|
||||
const int16_t v1
|
||||
|
Loading…
Reference in New Issue
Block a user