Skip to content

Rotation with a mouse drag #1209

@paireks

Description

@paireks

Hey guys!

I really apprieciate the example files for OpenGL and Imgui, they explain a lot. One thing I try to figure out, is making it possible to rotate 3d models using mouse dragging. In example files there is some sort of a fly mode, which is really cool and helpful, but at the same time for CAD related things rotating it with mouse dragging is much more popular. What I mean by this is something like e.g. this: https://stemkoski.github.io/Three.js/Labeled-Geometry.html

I understand library itself is pretty low-level, but maybe any of you have any examples or code samples where you rotate it not by flying with arrows and mouse, but with just dragging the mouse? :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    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