Projects > cpp > Issues > Bug #3818

We are migrating issue tracker of Cocos2d-x Project to Github, please create new issue there. Thanks.

Create Issue on Github

It's not work as expected when CC_SPRITE_DEBUG_DRAW is 1.

Bug #3818 [Closed]
WenHai 2014-01-23 03:02 . Updated almost 3 years ago

ccDrawPoly is undefined symbol.
It should use DrawPrimitives::drawPoly.It’s not work as expected when use the code in Sprite::updateTransform.

WenHai 2014-01-23 03:03
  • Subject changed from It's compiling error when CC_SPRITE_DEBUG_DRAW is 1. to It's not work as expected when CC_SPRITE_DEBUG_DRAW is 1.
ricardo 2014-01-28 00:10
  • Description updated (diff)

Yes, the new renderer should support drawing AABB, OBB.

And the CC_SPRITE_DEBUG_DRAW feature will be deprecated.

dabingnn 2014-02-24 12:10

I will fix the issue first, after that we need to refactor this into AABB, OBB draw

dabingnn 2014-02-25 02:18
  • Status changed from New to Closed
  • % Done changed from 0 to 100

Applied in changeset commit:d39cc653135cf773a39bfd3859e8e0b3a290b8cd.

Atom PDF

Status:Closed
Start date:2014-01-23
Priority:Normal
Due date:
Assignee:dabingnn
% Done:

100%

Category:-
Target version:3.0-rc0

Sign up for our newsletter to keep up with the latest developments, releases and updates for Cocos2d-x.