[ODE] cant get started!

DjArcas djarcas at hotmail.com
Wed Jul 16 09:47:02 2003


This is a multi-part message in MIME format.

------=_NextPart_000_001E_01C34BC2.BA7738E0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

It should look closer to this...

void main()
{
    dWorldID lWorldID;
    lWorldID =3D dWorldCreate();
    dWorldSetGravity (lWorldID , 0.0, 0.0, -9.81);
}


dWorldID is a typedef, not a variable.
  ----- Original Message -----=20
  From: Katie Bentley=20
  To: ode@q12.org=20
  Sent: Wednesday, July 16, 2003 3:43 PM
  Subject: [ODE] cant get started!


  hi,  can somebody please help me, i've just installed ode 0.03 and =
i've got all the headers included my main file so far looks like this:

  void main()
  {
       dWorldID dWorldCreate();
       dWorldSetGravity (dWorldID, 0.0, 0.0, -9.81);
  }


  its fine with the first line on its own which I cant understand =
anyway, but it doesn't like the dWorldID being used as is in the second =
line.  I cant seem to findout what the ID is!=20

  any example code would be helpful also!

  cheers
  Kate


------=_NextPart_000_001E_01C34BC2.BA7738E0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1170" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>It should look closer to =
this...</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV>
<DIV><FONT face=3DArial size=3D2>void main()<BR>{</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp;&nbsp; dWorldID=20
lWorldID;<BR>&nbsp;&nbsp;&nbsp;&nbsp;lWorldID =3D =
dWorldCreate();</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp;&nbsp; dWorldSetGravity =
(lWorldID ,=20
0.0, 0.0, -9.81);</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>}<BR></FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>dWorldID is a typedef, not a=20
variable.</DIV></FONT></DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style=3D"FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV=20
  style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: =
black"><B>From:</B>=20
  <A title=3Dkatiebentley222@hotmail.com=20
  href=3D"mailto:katiebentley222@hotmail.com">Katie Bentley</A> </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>To:</B> <A title=3Dode@q12.org=20
  href=3D"mailto:ode@q12.org">ode@q12.org</A> </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Wednesday, July 16, 2003 =
3:43=20
  PM</DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Subject:</B> [ODE] cant get =
started!</DIV>
  <DIV><BR></DIV>
  <DIV><FONT face=3DArial size=3D2>hi,&nbsp; can somebody please help =
me, i've just=20
  installed ode 0.03 and i've got all the headers included my main file =
so far=20
  looks like this:</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>void =
main()<BR>{<BR>&nbsp;&nbsp;&nbsp;=20
  &nbsp;dWorldID dWorldCreate();</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp;&nbsp; =
&nbsp;dWorldSetGravity=20
  (dWorldID, 0.0, 0.0, -9.81);</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2>}<BR></DIV>
  <DIV></FONT><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>its fine with the first line on its =
own which I=20
  cant understand anyway, but it doesn't like the dWorldID being used as =
is in=20
  the second line.&nbsp; I cant seem to findout what the ID is! =
</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>any example code would be helpful=20
  also!</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>cheers</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2>Kate</FONT></DIV>
  <DIV>&nbsp;</DIV>
  <DIV><FONT face=3DArial =
size=3D2></FONT>&nbsp;</DIV></BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_001E_01C34BC2.BA7738E0--