Fixed a problem where only the x part was initialized.
This commit is contained in:
parent
f0a38a2f8a
commit
85d57fd681
1 changed files with 4 additions and 3 deletions
|
@ -21,9 +21,10 @@ namespace cloonel {
|
||||||
///-------------------------------------------------------------------------
|
///-------------------------------------------------------------------------
|
||||||
///-------------------------------------------------------------------------
|
///-------------------------------------------------------------------------
|
||||||
template <typename T, uint32_t S>
|
template <typename T, uint32_t S>
|
||||||
Vector<T, S>::Vector (T parValue) :
|
Vector<T, S>::Vector (T parValue) {
|
||||||
m_mem {parValue}
|
for (int z = 0; z < S; ++z) {
|
||||||
{
|
m_mem[z] = parValue;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
///-------------------------------------------------------------------------
|
///-------------------------------------------------------------------------
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue