forum-msg-id-136364-edit

Original date:2021-09-05 16:13:12 Edited by: Icy_Viking Subject: orxEngine Structs

Hello all,

I just want to make sure I am doing this right. I am trying to convert the orxStructs to be Eu friendly. Here is what I have so far.

file:///C:/Users/Andy/Documents/Engines/Orx/orx/doc/html/structorx_v_e_c_t_o_r.html - orxVector Struct

Eu code

--Orx Structs converted to Eu 
--orxVector 
--First Union 
public constant fH = 0, 
				fR = 4, 
				fRho = 8, 
				fX = 12, 
				--Second Union 
				fG = 16, 
				fS = 20, 
				fTheta = 24, 
				fY = 28, 
				--Third Union 
				fB = 32, 
				fL = 36, 
				fPhi = 40, 
				fV = 44, 
				fZ = 48, 
				SIZEOF_orxVECTOR = 52, 
				$  
				 
public enum orxVECTOR 
 
public constant C_orxVECTOR = { 
		C_FLOAT, --fH 
		C_FLOAT, --fR 
		C_FLOAT, -- fRho 
		C_FLOAT, --fX 
		C_FLOAT, -- fG 
		C_FLOAT, -- fS 
		C_FLOAT, -- fTheta 
		C_FLOAT, --fY 
		C_FLOAT, --fB 
		C_FLOAT, --fL 
		C_FLOAT, --fPhi 
		C_FLOAT, --fV 
		C_FLOAT --fZ 
} 
Not Categorized, Please Help

Search



Quick Links

User menu

Not signed in.

Misc Menu