Skip to content

Use Vector:LengthSqr() instead of Vector:Length() #28

Description

@someoneyouspite

This would be more efficient than calculating a square root to compare against.

imgui/imgui.lua

Line 115 in 9219cb2

local distance = eyePosToPos:Length()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions