Commit Graph

13 Commits

Author SHA1 Message Date
Greg Rynkowski d32233d787 Fix "Possible misuse of comma operator here" (#18350) 2017-10-12 23:00:04 -05:00
mogemimi b9c78ac41c Use std::abs to avoid overhead of casting float to double 2016-07-13 00:55:11 +09:00
lvlong 59b7ab8154 fix bug: animation curve memory leak ! 2015-04-23 14:35:37 +08:00
lvlong 99ef79f940 modify INT_NEAR 2015-04-07 16:37:51 +08:00
Vladimir Timofeev 2835b094da Cleanup order of fields initialization.
Make initialization order to match declarations.
This change twice reduces number of warnings when compiling on MacOS X with Xcode 6.1
Warnings was like "Field 'XXXX' will be initialized after field 'YYYY'"
2014-10-30 17:28:41 +03:00
Ricardo Quesada 3dda35b4ef Adds `std::nothrow` to `new`
Since cocos2d-x doesn't support exceptions, it is important to add
`std::nothrow` to all the `new` statements
2014-08-27 16:31:57 -07:00
minggo dc635db163 fix warnings 2014-06-26 16:15:02 +08:00
minggo d6776b664a fix compiling error on windows 2014-06-18 14:01:57 +08:00
yangxiao 1ba59fba94 code adjustment according to minggo 2014-06-17 19:18:56 +08:00
yangxiao fb7fc23ee9 refactor code 2014-06-17 10:49:52 +08:00
yangxiao c00cdd0ae3 use bone dirtyflag 2014-06-16 18:22:32 +08:00
yangxiao 6d09b50699 animation bug 2014-06-10 19:53:06 +08:00
yangxiao 54caf26a57 animation3d 2014-06-04 18:17:09 +08:00