X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=Source%2FObjects.h;h=4d35552acd773694affea99fd543070c06ca2467;hb=9e06cb73424ca3f0eb971350c5dfb3cdaec0d5bf;hp=400d6b3064e4f300b744dd134d50fef0de96d26d;hpb=af283344ca70f7fbe9abd0d269511bc4ec3ff4bf;p=lugaru.git diff --git a/Source/Objects.h b/Source/Objects.h index 400d6b3..4d35552 100644 --- a/Source/Objects.h +++ b/Source/Objects.h @@ -59,8 +59,8 @@ public: float radius; XYZ position[max_objects]; int type[max_objects]; - float rotation[max_objects]; - float rotation2[max_objects]; + float yaw[max_objects]; + float pitch[max_objects]; float rotx[max_objects]; float rotxvel[max_objects]; float roty[max_objects]; @@ -85,8 +85,8 @@ public: void SphereCheckPossible(XYZ *p1,float radius); void DeleteObject(int which); - void MakeObject(int atype, XYZ where, float arotation, float ascale); - void MakeObject(int atype, XYZ where, float arotation, float arotation2, float ascale); + void MakeObject(int atype, XYZ where, float ayaw, float ascale); + void MakeObject(int atype, XYZ where, float ayaw, float apitch, float ascale); void Draw(); void DoShadows(); void DoStuff();