mirror of
https://github.com/eried/portapack-mayhem.git
synced 2024-10-01 01:26:06 -04: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(
|
constexpr vec2_s16(
|
||||||
const int16_t v0,
|
const int16_t v0,
|
||||||
const int16_t v1
|
const int16_t v1
|
||||||
|
Loading…
Reference in New Issue
Block a user