HomeWildfire Games

Cleanup MikktspaceWrapper.

Description

Cleanup MikktspaceWrapper.

Reviewed by: @Angen

Differential Revision: https://code.wildfiregames.com/D1872

Details

Committed
StanMay 29 2019, 12:06 AM
Reviewer
Silier
Differential Revision
D1872: Cleanup MikktspaceWrap
Parents
rP22315: New horse and cattle fauna template corrections
Branches
Unknown
Tags
Unknown
Build Status
Buildable 7659
Build 12488: Post-Commit BuildJenkins

Event Timeline

vladislavbelov added inline comments.
/ps/trunk/source/renderer/MikktspaceWrap.cpp
100

Different style for the constant reference here and below.

/ps/trunk/source/renderer/MikktspaceWrap.h
21

Why the includes were added in the header instead of forward declaration?

28

No empty line before the class definition.

40

I don't think that it makes much sense, because they're related.

/ps/trunk/source/renderer/ModelRenderer.cpp
120

Spaces.

Stan added inline comments.
/ps/trunk/source/renderer/MikktspaceWrap.cpp
100

See D1934

/ps/trunk/source/renderer/MikktspaceWrap.h
21

Cause forward declaration doesn't work, as the classes are used as class attributes.

28

Should there be ?

40

Each of them was on a newline so no strong feeling.

/ps/trunk/source/renderer/MikktspaceWrap.h
21

Did you try it? Because it should work for constant references.

Stan added inline comments.May 29 2019, 8:11 AM
/ps/trunk/source/renderer/MikktspaceWrap.h
21

I did but I'll try again.