Skip to content

DDA does not seem work? #2

@aentity

Description

@aentity

@ramakarl in other issue you ask for vertices, for these:

    Vector3DF(
        0.0,
        -20.81406,
        8.171592
    ),
    Vector3DF(
        0.0,
        -14.862897,
        -13.38261
    ),
    Vector3DF(
        20.0,
        0.0,
        0.0
    )

it seems clear that d1 will be invalid, as we will divide by 0 here: https://github.com/ramakarl/voxelizer/blob/master/math_voxelizer/main_voxelizer.cpp#L237

have you tested this by rotating the triangle about the planes using quaternions on every axis?

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