Skip to content

Vector3F.CompareTo always returns 0. #1

@UnknownShadow200

Description

@UnknownShadow200
public int CompareTo( Vector3I other ) {
      return Math.Sign( LengthSquared - LengthSquared );
}

public int CompareTo( Vector3F other ) {
      return Math.Sign( LengthSquared - LengthSquared );
}

Guessing you meant other.LengthSquared the second time?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions