Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Will MathHelper.cs from the DOTSSample eventually be integrated into Unity.Mathematics?

Discussion in 'Entity Component System' started by PhilSA, Jan 5, 2020.

  1. PhilSA

    PhilSA

    Joined:
    Jul 11, 2013
    Posts:
    1,926
    I'm referring to this:
    https://github.com/Unity-Technologi...Unity.Sample.Core/Scripts/Utils/MathHelper.cs

    Things like Angle() and ProjectOnPlane() are functionalities that nearly all game projects will need, and so I was wondering if they'll eventually be part of Unity.Mathematics?

    It would be important in order to avoid situations where every plugin in your project ends up with their own custom version of these functions, because they all need it but there's no standard version available
     
  2. MaverickROM

    MaverickROM

    Joined:
    Mar 19, 2019
    Posts:
    11
    I agree, there's tonnes of stuff in the DOTS Sample project, currently mostly in the Unity.Sample.xxx folders, which would just make sense to include in base packages or store assets (rather than samples that need to be copied) that could be extended.