<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Maratis forum - translate funcion in c++?]]></title>
	<link rel="self" href="http://forum.maratis3d.com/extern.php?action=feed&amp;tid=844&amp;type=atom"/>
	<updated>2013-10-25T05:38:50Z</updated>
	<generator>PunBB</generator>
	<id>http://forum.maratis3d.com/viewtopic.php?id=844</id>
		<entry>
			<title type="html"><![CDATA[Re: translate funcion in c++?]]></title>
			<link rel="alternate" href="http://forum.maratis3d.com/viewtopic.php?pid=5807#p5807"/>
			<content type="html"><![CDATA[<p>oh thank you 255 . <br />i thought there might be an easier way for this but i guess ill have to work with that.</p>]]></content>
			<author>
				<name><![CDATA[Crucio777]]></name>
				<uri>http://forum.maratis3d.com/profile.php?id=1176</uri>
			</author>
			<updated>2013-10-25T05:38:50Z</updated>
			<id>http://forum.maratis3d.com/viewtopic.php?pid=5807#p5807</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: translate funcion in c++?]]></title>
			<link rel="alternate" href="http://forum.maratis3d.com/viewtopic.php?pid=5657#p5657"/>
			<content type="html"><![CDATA[<div class="quotebox"><cite>Crucio777 wrote:</cite><blockquote><p>i can&#039;t find equivalent of functions of lua in c++</p></blockquote></div><p>Sometimes they have different names or they may even not exist and you need to do 2 or 3 lines of C++ code to replicate them.<br />The cool thing is that you just need to refer to the MScript source file to see how the Lua functions are made:<br /><a href="http://code.google.com/p/maratis/source/browse/trunk/dev/Maratis/Common/MScript/MScript.cpp?r=203">http://code.google.com/p/maratis/source &#133; .cpp?r=203</a><br />Just do a search with your browser and you&#039;ll end up to the function body that you need.<br />With minor modifications you should get a working code.<br />In the case of &quot;translate&quot;:<br /></p><div class="codebox"><pre><code>MVector3 axis(1,0,0);
axis = object-&gt;getRotatedVector(axis);
object-&gt;setPosition(object-&gt;getPosition() + axis);</code></pre></div>]]></content>
			<author>
				<name><![CDATA[255]]></name>
				<uri>http://forum.maratis3d.com/profile.php?id=2540</uri>
			</author>
			<updated>2013-10-21T19:57:30Z</updated>
			<id>http://forum.maratis3d.com/viewtopic.php?pid=5657#p5657</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[translate funcion in c++?]]></title>
			<link rel="alternate" href="http://forum.maratis3d.com/viewtopic.php?pid=5651#p5651"/>
			<content type="html"><![CDATA[<p>what is the equivalent of translate from lua in c++ ?</p><p>btw&nbsp; is there&nbsp; a way to use the script functions in c++?</p><p>the reason i need is i can code in c++ but i can&#039;t find equivalent of functions of lua in c++ <br />my lua script is getting really huge i would like to get some character codes in a plugin .(its&nbsp; not much yet but i would like to create character code in a plugin for future ).</p>]]></content>
			<author>
				<name><![CDATA[Crucio777]]></name>
				<uri>http://forum.maratis3d.com/profile.php?id=1176</uri>
			</author>
			<updated>2013-10-21T18:35:36Z</updated>
			<id>http://forum.maratis3d.com/viewtopic.php?pid=5651#p5651</id>
		</entry>
</feed>
