mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-06-04 21:29:36 -04:00
Add single-arg constructor for vec2_s16.
This commit is contained in:
parent
229616491c
commit
cd31ae86d7
1 changed files with 6 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue