diff options
author | cutealien <cutealien@dfc29bdd-3216-0410-991c-e03cc46cb475> | 2022-04-25 14:24:43 +0000 |
---|---|---|
committer | sfan5 <sfan5@live.de> | 2023-03-24 17:09:11 +0100 |
commit | 263f24352364b370500aab94e237a22a21631435 (patch) | |
tree | 3639b551d12b4a39ebcccc07be8a47833e71ab99 /source/Irrlicht/CGUISpriteBank.cpp | |
parent | c5ee8c83971a13861b98bbc75c6cac3c1e9741eb (diff) | |
download | irrlicht-263f24352364b370500aab94e237a22a21631435.tar.xz |
S3DVertex initialize color always. It's derived classes now both accept const S3DVertex& constructor.
color intitialization has some cost, but we initialized all other values already (vectors are always set to 0).
Don't think it's a good idea to have one value around which is random.
S3DVertex2TCoords(S3DVertex& o) to S3DVertex2TCoords(const S3DVertex& o) simply because it makes more sense
S3DVertexTangents(const S3DVertex& o) added because I'll need it later (and no idea why only S3DVertex2TCoords got one of those before).
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@6359 dfc29bdd-3216-0410-991c-e03cc46cb475
Diffstat (limited to 'source/Irrlicht/CGUISpriteBank.cpp')
0 files changed, 0 insertions, 0 deletions