Skip to content
This repository was archived by the owner on Jul 17, 2026. It is now read-only.
This repository was archived by the owner on Jul 17, 2026. It is now read-only.

Ray.intersectsWithQuad breaks for some quads #358

Description

@treeplate

dart create bug; cd bug; dart pub add vector_math
copy into bin/main.dart:

import 'package:vector_math/vector_math.dart';

void main() {
  print(Ray.originDirection(Vector3(-2, -2, -2), Vector3(1, 1, 1)).intersectsWithQuad(Quad.points(Vector3(-1, -1, 0), Vector3(-1, 1, 0), Vector3(-1, -1, 1_000_000), Vector3(-1, 1, 1_000_000))));
}

expected results: null
actual results: 1.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions