Skip to content

Alternative to len #70

@mantielero

Description

@mantielero

Sorry for this probably naive question. I was trying the following:

import vmath
var a = vec2(10.0,2.0)
echo a.len

This works if compiled with -d:vmathArrayBased, but how can I get the length of the vector when is not based in arrays?

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