Added const qualifiers. Removed obsolete RTC3D structs.