瀏覽代碼

doc: fix claims in the documentation introduction and disable vector.h

subtelties to avoid polluting Doxygen.
legacy
Sam Hocevar sam 12 年之前
父節點
當前提交
8c50a08147
共有 2 個檔案被更改,包括 8 行新增3 行删除
  1. +2
    -3
      doc/lolengine.dox
  2. +6
    -0
      src/lol/math/vector.h

+ 2
- 3
doc/lolengine.dox 查看文件

@@ -7,13 +7,12 @@
\e lolengine is free software, released under the Do What The Fuck You
Want To Public License. This ensures that no one, not even \e lolengine
developers, will ever have anything to say about what you do with the
software. It used to be licensed under the GNU Lesser General Public
License, but that was not free enough.
software.

\section license License

Permission is granted to copy, distribute and/or modify this document
under the terms of the Do What The Fuck You Want To Public License, version
2 as published by Sam Hocevar. For details see http://sam.zoy.org/wtfpl/ .
2 as published by Sam Hocevar. For details see http://www.wtfpl.net/ .

*/

+ 6
- 0
src/lol/math/vector.h 查看文件

@@ -181,6 +181,7 @@ template <typename T> struct BVec2
#if LOL_NO_CONST_MEMBERS_IN_ANONYMOUS_UNIONS
# define const /* disabled */
#endif
#if !_DOXYGEN_SKIP_ME
XVec2<T,0x00> const xx, rr, ss;
XVec2<T,0x01> const xy, rg, st; /* lvalue */
XVec2<T,0x10> const yx, gr, ts; /* lvalue */
@@ -211,6 +212,7 @@ template <typename T> struct BVec2
XVec4<T,0x1101> const yyxy, ggrg, ttst;
XVec4<T,0x1110> const yyyx, gggr, ttts;
XVec4<T,0x1111> const yyyy, gggg, tttt;
#endif
#if LOL_NO_CONST_MEMBERS_IN_ANONYMOUS_UNIONS
# undef const
#endif
@@ -342,6 +344,7 @@ template <typename T> struct BVec3
#if LOL_NO_CONST_MEMBERS_IN_ANONYMOUS_UNIONS
# define const /* disabled */
#endif
#if !_DOXYGEN_SKIP_ME
XVec2<T,0x00> const xx, rr, ss;
XVec2<T,0x01> const xy, rg, st; /* lvalue */
XVec2<T,0x02> const xz, rb, sp; /* lvalue */
@@ -461,6 +464,7 @@ template <typename T> struct BVec3
XVec4<T,0x2220> const zzzx, bbbr, ppps;
XVec4<T,0x2221> const zzzy, bbbg, pppt;
XVec4<T,0x2222> const zzzz, bbbb, pppp;
#endif
#if LOL_NO_CONST_MEMBERS_IN_ANONYMOUS_UNIONS
# undef const
#endif
@@ -526,6 +530,7 @@ template <typename T> struct BVec4
#if LOL_NO_CONST_MEMBERS_IN_ANONYMOUS_UNIONS
# define const /* disabled */
#endif
#if !_DOXYGEN_SKIP_ME
XVec2<T,0x00> const xx, rr, ss;
XVec2<T,0x01> const xy, rg, st; /* lvalue */
XVec2<T,0x02> const xz, rb, sp; /* lvalue */
@@ -864,6 +869,7 @@ template <typename T> struct BVec4
XVec4<T,0x3331> const wwwy, aaag, qqqt;
XVec4<T,0x3332> const wwwz, aaab, qqqp;
XVec4<T,0x3333> const wwww, aaaa, qqqq;
#endif
#if LOL_NO_CONST_MEMBERS_IN_ANONYMOUS_UNIONS
# undef const
#endif


Loading…
取消
儲存