Programming and animation
Programming and animation ideas, articles, tutors, scripts, plugins in the 3d-
STL Vector & Map element removing
Posted on 17 August 2009 Neill No commentsThere is a small feature to be borne in mind when you remove an element in the vector and map.
Suppose there is such a situation, we start to cycle through the elements by iterator, and some of the criteria if the item is not suitable, it should be removed.
For a vector it will be as follows:1
2
3
4tempIter = Iter;
lVector.erase(Iter)
Iter = tempIter;
continue;For a map it will be as follows:
Programming C++, Map, STL, Tips, Vector1
2
3
4
5tempIter = Iter;
tempIter++;
lMap.erase(Iter)
Iter = tempIter;
continue; -
Math library for developers 2
Posted on 29 July 2009 Neill 1 commentIn a previous “math library for developers” post, I published a library of classes for vectors, matrices and quaternions. At this time I decided to go ahead and rewrite the classes directly in the file fbtypes.h
MotionBuilder, Programming Math, Matrix, SDK, Source, Vector -
Math library for developers
Posted on 4 July 2009 Neill 1 commentIn the Open Reality SDK there is small set of functions for working with vectors, matrices and quaternions. Propose to gather some convenient common library.
MotionBuilder C++, Math, Matrix, SDK, Source, Vector -
Mainstream algorithms
Posted on 3 March 2009 Neill No commentsTranslation in progress…
Programming FFT, Intel, LAPACK, Math, Matrix, PCA, Vector

English
Russian
Recent Comments