It shouldn't be too hard. If you deserialize the attributes into an io::IAttributes, you can get/set each attribute individually, and then you can serialize the attributes back to the object.
Travis
Search found 3947 matches
- Sat Jun 18, 2011 11:10 pm
- Forum: Beginners Help
- Topic: property system for editor
- Replies: 2
- Views: 577
- Fri Apr 08, 2011 1:58 am
- Forum: Beginners Help
- Topic: View frustrum question.
- Replies: 5
- Views: 976
- Thu Apr 07, 2011 12:46 am
- Forum: Beginners Help
- Topic: this seem like good way to interpolate rotation matrices?
- Replies: 3
- Views: 787
- Sat Jan 15, 2011 3:13 am
- Forum: Advanced Help
- Topic: Can we create a copy of the metaselector?
- Replies: 5
- Views: 951
- Sat Nov 27, 2010 11:02 pm
- Forum: Beginners Help
- Topic: Select multiple units with some sort of 2D box
- Replies: 3
- Views: 748
- Sun Nov 21, 2010 1:53 am
- Forum: Beginners Help
- Topic: Rounded edges?
- Replies: 4
- Views: 832
- Sun Nov 21, 2010 1:49 am
- Forum: Beginners Help
- Topic: Display custom bounding boxes
- Replies: 3
- Views: 989
- Sun Nov 21, 2010 1:38 am
- Forum: Beginners Help
- Topic: Using Multiple setEventReceiver
- Replies: 3
- Views: 937
- Sun Nov 21, 2010 1:35 am
- Forum: Beginners Help
- Topic: my culling function
- Replies: 10
- Views: 1898
IMO, you should allocate the edges array on the stack for efficiency and safety. Something like this...arnir wrote:Code: Select all
vector3df *edges = new vector3df[8]; // snip... delete [] edges;
Code: Select all
vector3df edges[8];
- Sun Oct 24, 2010 3:44 pm
- Forum: Beginners Help
- Topic: Hashes ...
- Replies: 14
- Views: 1812
- Sat Oct 23, 2010 5:53 pm
- Forum: Beginners Help
- Topic: Hashes ...
- Replies: 14
- Views: 1812
- Mon Oct 18, 2010 2:42 am
- Forum: Beginners Help
- Topic: irr::core::list<typename T> - who the f*** did program
- Replies: 5
- Views: 1055
- Mon Oct 04, 2010 3:15 am
- Forum: Beginners Help
- Topic: Bounding Box
- Replies: 2
- Views: 753
- Mon Sep 20, 2010 3:59 am
- Forum: Beginners Help
- Topic: Half extents of a cube scene node or AABB
- Replies: 2
- Views: 953
Re: Half extents of a cube scene node or AABB
How can I get the half extents, and convex size of an Irrlicht cube scene node?
Why can't you use the scene node's object space bounding box? That box should completely and exactly enclose the box. If you want the half extents, you get the extents and divide by two. I have no idea what you mean by ...
Why can't you use the scene node's object space bounding box? That box should completely and exactly enclose the box. If you want the half extents, you get the extents and divide by two. I have no idea what you mean by ...
- Sun Sep 19, 2010 12:14 am
- Forum: Beginners Help
- Topic: Draw a line between two points
- Replies: 2
- Views: 922