Quantcast
Channel: cocos2d-x - Cocos Forums
Viewing all articles
Browse latest Browse all 2748

How to draw a triangle in 3D

$
0
0

@Lem wrote:

Hello!

For now I used cocos only for 2D games, now I want to do also some 3D stuff. I want to draw a triangle in 3D space, with the coordinates of lets say P1 = (0, 0, 0), P2 = (0, -100, 100), P3 = (0, 200, 100). Are there some OpenGL calls to do this kind of stuff?

And since it's my first time using 3D in cocos, are there any good 3D tutorials? smiley

Posts: 3

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 2748

Trending Articles