Skip to content

shape.CircleInCirlce using / passing wrong property? #101

@PaulEden

Description

@PaulEden
function mist.shape.circleInCircle(c1, c2, full)
    if not full then -- quick partial check
        if mist.utils.get2DDist(c1.point, c2.point) <= c2.radius then
            return true
        end
    end

Property "point" of objects c1 and c2 doesn't exist in the context of being called from shape.InsideShape and its associated example on hoggit
https://wiki.hoggitworld.com/view/MIST_insideShape that provides vec3 objects as parameters.

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