Skip to content
View MlleDR's full-sized avatar
🎯
Focusing
🎯
Focusing
Block or Report

Block or report MlleDR

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse

Pinned Loading

  1. Snippets Snippets Public

    Useful snippets

    C# 1

  2. point-on-circle point-on-circle Public

    Creates a vector on a given circle

    JavaScript

  3. Converts (x,y,z) to (r,g,b) with lig... Converts (x,y,z) to (r,g,b) with lightness parameter - Returns Adobe RGB as Vector3
    1
    // Converts (x,y,z) to (r,g,b) with lightness parameter
    2
    // Returns Adobe RGB as Vector3.
    3
        public Vector3 XZY_to_RGB(float x, float y, float z, float lightness)
    4
        {
    5
            float _x = x / 100f;
  4. Some examples of screen positions on... Some examples of screen positions on an Orthographic camera
    1
        
    2
        // Some examples of screen positions with borderlimits on an Orthographic camera
    3
        
    4
        private Camera cam;
    5
        public float borderLimit;
  5. Constant Lerp from A to B with speed Constant Lerp from A to B with speed
    1
    // Constant Lerp from A to B with speed
    2
    private float moveDir;
    3
    private void ConstantLerp(Vector3 from, Vector3 to, float speed)
    4
    {
    5
        moveDir = speed * (1 / Vector3.Distance(from.position, to.position) * Time.deltaTime);