Jump to content

View more

Image of the Day

Inventory ! Va falloir trouver une autre couleur pour le cadre D: #AzTroScreenshot #screenshotsaturday https://t.co/PvxhGL7cOH
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now
- - - - -

Ogre Vector3 and amd64

4: Adsense

Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.


  • You cannot reply to this topic
21 replies to this topic

#21 jacmoe   Members   

2172
Like
0Likes
Like

Posted 15 April 2013 - 10:01 AM

I know it's late, but after fighting with Angelscript and Ogre on 64-bit Linux for way too long, I hereby report that the issue has been fixed! biggrin.png

 

 

 

        r = engine->RegisterObjectType("Vector3", sizeof(Ogre::Vector3), asOBJ_VALUE | asOBJ_POD | asOBJ_APP_CLASS_CA | asOBJ_APP_CLASS_ALLFLOATS); assert( r >= 0 );

 

the all floats flag did indeed fix the issues smile.png

Instead of just asOBJ_VALUE | asOBJ_POD | asOBJ_APP_CLASS_CAK.

 

Had to do the same thing to Quaternion.

 

 

I never thought I'd live to see it work..

 

Thanks a bunch Andreas Jonsson!


Edited by jacmoe, 15 April 2013 - 10:04 AM.

More signal, less noise

#22 Andreas Jonsson   Moderators   

4627
Like
0Likes
Like

Posted 15 April 2013 - 10:15 AM

Better later than never ;). Thanks for the confirmation.
AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game




Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.