Search Unity

Can I share mathematics wrapper and Mathf conversion library on my public github repo?

Discussion in 'Burst' started by mm_hohu, Jun 5, 2021.

  1. mm_hohu

    mm_hohu

    Joined:
    Jun 4, 2021
    Posts:
    41
    I'm writing mathematcis extension wrappers and Mathf conversion (lightweight) library.
    This library are utilizing the results of decompiling UnityEngine.Mathf, Unity.Mathematics, Unity.Physics, Unity.Animation assemblies, and refering to many useful blogs and articles.

    And I want to put them on my public repo.
    Is it possible? If so, which license can I use?
    This is a non profit (currently personal) project.

    I've attached sample file.
    Thanks.
     

    Attached Files:

  2. tim_jones

    tim_jones

    Unity Technologies

    Joined:
    May 2, 2019
    Posts:
    287
    I can't give you a definitive answer, because I'm just a developer on the Burst team, and I don't speak for the company regarding legal matters. But... as a general rule, you'd need to read and follow the licenses of each library whose code you're using. For example, Unity distributes the Mathf source code here, but the license only allows you to read the code, not modify or redistribute it: https://github.com/Unity-Technologies/UnityCsReference.
     
    mm_hohu likes this.
  3. mm_hohu

    mm_hohu

    Joined:
    Jun 4, 2021
    Posts:
    41
    Thanks for your reply.

    Individual indie devs like me may have a hard time switching from Mathf to Mathematics.
    As for me, I'm not good at math, which made it even more difficult. :confused::confused::confused:

    Anyway, I will use it in my private repository.:)