About Store Forum Documentation Contact
Donations:
327$/mo



Post Reply 
Loading mesh, set pos
Author Message
FireMan Offline
Member

Post: #1
Loading mesh, set pos
Hi.
How to set pos 2,2,2 for mesh (latarka).

My code:

Code:
Mesh latarka;

...

latarka.load("obj/latarka/model.mesh");
latarka.scale(Vec(0.2,0.1,0.2));

...

latarka.draw();

Forum reklamowe: http://ad-forum.pl
(This post was last modified: 11-24-2009 05:02 PM by FireMan.)
11-24-2009 05:02 PM
Visit this user's website Find all posts by this user Quote this message in a reply
mih Offline
Member

Post: #2
RE: Loading mesh, set pos
latarka.draw(Matrix(Vec(2,2,2)));
11-24-2009 06:24 PM
Find all posts by this user Quote this message in a reply
Post Reply