Ralith/openxrs

Implement common traits for various structs

Manishearth opened this issue · 4 comments

It would be nice if things like Fovf and Posef implemented traits like PartialEq and Default.

This turns out to be annoying to do due to raw pointers and large arrays preventing derives for these.

@Ralith well, sure, we should do this for the value types like Posef and Fovf, we don't have to do it for more complex objects.

Folded a draft into #30 based on doing the laziest thing possible.

Are there any useful cases still missing, or should we consider this more or less solved?