Friflo.Engine.ECS
Friflo.Engine.ECS copied to clipboard
Moving default components like position, rotation and transform to different namespace
Having these components default from friflo results clash with rendering frameworks like fna and mono. I'm not a C# expert so couldn't find a good way to exclude those from my includes.
Do you think it would be good idea to move them to different namespace for library?
Doing this will break compatibility. So I don't want to do this at the moment.
Similar to https://github.com/friflo/Friflo.Engine.ECS/discussions/26
In case changing the mentioned types I would move them to namespace Friflo.ECS.Math.
I let this topic open for better naming suggestions.
i agree with @erdemserhatergen and #26, but its already been put in place so yes technically it will break compatibility. but these types didnt need to be written as included in the first place! people can implement those themselves. maybe not for EntityName so easily as i think that should be a feature native to the lib without a component in use, but definitely for pos/rot/matrix components.
as for the namespace if theyre to be moved, Friflo.ECS.Components or Friflo.ECS.BuiltIn sound more fitting than Math.
In case changing the mentioned types I would move them to namespace
Friflo.ECS.Math. I let this topic open for better naming suggestions.
Thanks for the information and still thinking about moving them to other namespace.