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>
|
||||
Vector<T, S>::Vector (T parValue) :
|
||||
m_mem {parValue}
|
||||
{
|
||||
Vector<T, S>::Vector (T parValue) {
|
||||
for (int z = 0; z < S; ++z) {
|
||||
m_mem[z] = parValue;
|
||||
}
|
||||
}
|
||||
|
||||
///-------------------------------------------------------------------------
|
||||
|
|
Loading…
Reference in a new issue