This website works better with JavaScript.
Home
Help
Sign In
lolengine
/
lol
mirror of
https://github.com/lolengine/lol
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
0
Wiki
Activity
Browse Source
Add arraynd.clear() utility method.
pull/1/head
Sam Hocevar
4 years ago
parent
83370c7293
commit
c54b4cbe07
1 changed files
with
2 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-0
legacy/lol/math/arraynd.h
+ 2
- 0
legacy/lol/math/arraynd.h
View File
@@ -236,6 +236,8 @@ public:
resize_data(e);
}
inline void clear() { resize(vec_t<int, N>(0)); }
inline vec_t<int, N> sizes() const
{
return vec_t<int, N>(this->m_sizes);
Write
Preview
Loading…
Cancel
Save