nanogui 0.0.7

Port of nanogui to dlang.


To use this package, put the following dependency into your project's dependencies section:

dub.json
dub.sdl

What is it? Build Status

D port of nanogui

The port is incomplete - not all widgets are ported, but all ported widgets are fully usable.

There is difference with origin. For example:

  • instead of const references passing by value is used
  • as a color and vector implementation gfm.math is used (in origin eigen used as a vector implementation and own implementation of color type)
  • no locking on glfw, instead two backends are available - arsd.simpledisplay (no external dependencies) and SDL2 (depends on SDL2 library obviously), SDL backend is more developed than arsd one (due to lack of time). Other backend like glfw, sfml etc can be easily added, nanogui is agnostic to underlying layer.

Cloning source

The project at the moment uses arsd as a submodule. For cloning please use either

git clone --recursive https://github.com/drug007/nanogui.git

or

git clone https://github.com/drug007/nanogui.git
cd nanogui
git submodule update --init

Examples

Directory examples contains two packages, providing examples for arsd and sdl backends. To run example cd to corresponding directory and run dub command. For example:

cd examples/sdl
dub

Screenshot

Screenshot

Authors:
  • drug007
Dependencies:
gfm:sdl2, gfm:math, gfm:opengl, arsd-official:nanovega
Versions:
0.0.7 2018-Dec-08
0.0.6 2018-Dec-08
0.0.5 2018-May-03
0.0.4 2018-Apr-30
0.0.3 2018-Apr-25
Show all 14 versions
Download Stats:
  • 1 downloads today

  • 1 downloads this week

  • 1 downloads this month

  • 6 downloads total

Score:
1.0
Short URL:
nanogui.dub.pm