Home New Trending Search
About Privacy Terms
#
#dlang
Posts tagged #dlang on Bluesky
Documentation comment for three functions: topVertexPosition, bottomVertexPosition, vertexPosition. There is an ASCII art embedded in it that could be described as a three level square tower.

Gets position of a vertex in any of the loops of the tile.

Use [topVertexPosition] to retrieve vertices of the first (top) loop, [bottomVertexPosition] for vertices of the last (bottom) loop, or [vertexPosition] to receive either or a loop in between.

Each loop is indexed. Loop 0 is the top loop, subsequent loops are wall repeat (see [wallRepeatCount]), and the last loop is the bottom loop. Consequently, there are `wallRepeatCount + 2` loops in the tile. For example, a tile with 2 wall repeat loops will have 4 repeats total:

(Illustration goes here. It shows the tile divided into three segments. Four labels next to the illustration name each of the loops: loop 0 is the top,  loops 1 and 2 are wall repeats, and loop 3 is the bottom)

Returns:
Local 3D position for given vertex index at the top ([altitude] level) or bottom (altitude minus [depth]) of the mesh, or a texture repeat loop ([wallRepeat] level or a multiple). Includes relevant `position` offset.
Params:
i = Vertex index belonging to the tile.
loop = Index of the loop to get a vertex from.

topVertexPosition and bottomVertexPosition take one argument each, "i", and vertexPosition takes two: "i" and "loop"

Documentation comment for three functions: topVertexPosition, bottomVertexPosition, vertexPosition. There is an ASCII art embedded in it that could be described as a three level square tower. Gets position of a vertex in any of the loops of the tile. Use [topVertexPosition] to retrieve vertices of the first (top) loop, [bottomVertexPosition] for vertices of the last (bottom) loop, or [vertexPosition] to receive either or a loop in between. Each loop is indexed. Loop 0 is the top loop, subsequent loops are wall repeat (see [wallRepeatCount]), and the last loop is the bottom loop. Consequently, there are `wallRepeatCount + 2` loops in the tile. For example, a tile with 2 wall repeat loops will have 4 repeats total: (Illustration goes here. It shows the tile divided into three segments. Four labels next to the illustration name each of the loops: loop 0 is the top, loops 1 and 2 are wall repeats, and loop 3 is the bottom) Returns: Local 3D position for given vertex index at the top ([altitude] level) or bottom (altitude minus [depth]) of the mesh, or a texture repeat loop ([wallRepeat] level or a multiple). Includes relevant `position` offset. Params: i = Vertex index belonging to the tile. loop = Index of the loop to get a vertex from. topVertexPosition and bottomVertexPosition take one argument each, "i", and vertexPosition takes two: "i" and "loop"

hell yeah, writing docs

#programming #dlang

2 1 0 0
Post image

bindbcのNNGバインディングがあったけど、かれこれいじって結局ImportCで一発だった。
ImportC使えるじゃん…
#dlang

0 0 0 0
Post image

nngのreqうまくいった。
#dlang

0 0 1 0
Post image

はてなブログに投稿しました
DFL: 日時選択コントロールのサンプルコード - ...ing logging 4.0 haru-s.hatenablog.com/entry/2026/0...
#はてなブログ #dlang

0 1 0 0
Preview
DFL: カレンダーコントロールのサンプルコード - ...ing logging 4.0 カレンダーコントロール(MonthCalendar)を実装しました。 Dfl / ToDo | Dprogramming.com Wiki - The D programming language カレンダーコントロールは、オリジナルDFLのTODOに挙げられていたので、 いつかは実装しようと思っていたのですが、 コモンコントロールのカレンダーコントロールは 使い勝手が気に入らなかったので後回しに...

はてなブログに投稿しました
DFL: カレンダーコントロールのサンプルコード - ...ing logging 4.0 haru-s.hatenablog.com/entry/2026/0...
#はてなブログ #dlang

0 1 0 0
Post image

DFL v0.18.0
MonthCalendarを追加。
WinFormsのMonthCalendarの機能は全部?実装。
さらに拡張イベントハンドラを実装。
github.com/Rayerd/dfl #dlang

0 0 0 0
D Lang Symposium

Have you got your tickets for the dlangsymposium.com (April 11, 12)? It's FREE for students, and an awesome opportunity to meet other programmers interested in D, or just generally interested in becoming better software developers. Check it out!
#dlang #programming #conferences #softwareengineering

1 0 0 0

Huh… if I start streaming teaching programming again would that make me a vtuber teacher too?

Granted one promoting #dlang propaganda

7 0 1 0
Preview
GitHub - pouyathe/glang: The G Programing Language. The G Programing Language. Contribute to pouyathe/glang development by creating an account on GitHub.

⭐ Glang: The G Programing Language.

github.com/pouyathe/glang

#Glang #dlang #plt

0 0 0 0
Screenshot from KATE showing source code exempt written in D.

Screenshot from KATE showing source code exempt written in D.

Writing some handlers for Dualsense haptics. The main show will have to use an audio thread, and connection to custom audio endpoints is a bit icky in my directmedia layer as of now.

#gamedev #opensource #dlang #D言語

7 1 0 0
Preview
S4:E01 - 2025 Advent of Code Follow-Up - The Stray Pointers Podcast S4:E01 - 2025 Advent of Code Follow-Up - The Stray Pointers Podcast

Juan Vazquez and Cameron Cunning rejoin the show to discuss how we fared with the 2025 Advent of Code competition.

#rust #elixirlang #dlang #Aoc2025 #AdventOfCode #programming

straypointers.com/e/s4e01.htm

2 0 1 0

the engine(s) we use and the game we're making!

#MadeWithGodot #MadeWithUnity #dlang #indiegame

15 4 1 0
LinkedIn This link will take you to a page that’s not on LinkedIn

The first iteration of the D Language Symposium of 2026 will be hosted at Yale University. This is going to be a 2-day event: day 1 is talking, day 2 is about action!

Full information here: dlangsymposium.com
#dlang #programming #conferences

2 0 0 0
Custom 3D Game Engine with D Language - The Art of Reflection - Lewis Nicolle -- Conversation #10
Custom 3D Game Engine with D Language - The Art of Reflection - Lewis Nicolle -- Conversation #10 YouTube video by Mike Shah

youtu.be/dHkUs2c9GFI
I sat down with Lewis to talk about his game engine in #dlang and #gamedevelopment. Enjoy! #artofreflection

2 1 0 0
Preview
GitHub - Rayerd/dfl: DFL (D Forms Library) is a Win32 GUI library for the D language. DFL (D Forms Library) is a Win32 GUI library for the D language. - Rayerd/dfl

まだどこかバグっていそうだけどDFLの全てのコントロールのDPI-Aware (Per monitor v2)対応ができた。
DFL v0.14.0 github.com/Rayerd/dfl
code.dlang.org/packages/dfl
#dlang

0 0 0 0
A triangle-shaped pixelart ship and a pixelart asteroid on a black screen.

A triangle-shaped pixelart ship and a pixelart asteroid on a black screen.

Finally debugged the ECS of the sprite layer, and now I can spawn moving asteroids. Next up is some collision detection.

#gamedev #opensource #pixelart #dlang #D言語

11 0 0 0
Preview
D言語でMicrosoft Component Object Model (COM) を使う (その20) - ...ing logging 4.0 D言語 Advent Calendar 2025 25日目の記事です。 今回は全20回の記事の締めくくりとなります。 COM使う編 D言語でMicrosoft Component Object Model (COM) を使う (その1) - ...ing logging 4.0 D言語でMicrosoft Component Object Model (COM) を使う (その2) - ...in...

【最終回】D言語でMicrosoft Component Object Model (COM) を使う (その20)
haru-s.hatenablog.com/entry/2025/1...

D言語 Advent Calendar 2025 qiita.com/advent-calen... #Qiitaアドカレ #Qiita #dlang
D言語でMicrosoft Component Object Model (COM) を使う (その20) - ...ing logg…

0 0 0 0
A small pixelart triangle-shaped spaceship sprite, with some rotation

A small pixelart triangle-shaped spaceship sprite, with some rotation

I haven't stopped gamedeving, I just was too lazy to post it onto BlueSky #gamedev #pixelart #opensource #dlang #D言語

9 3 0 0

【予約投稿】D言語でMicrosoft Component Object Model (COM) を使う (その16)
haru-s.hatenablog.com/entry/2025/1...

D言語 Advent Calendar 2025に参加しました! qiita.com/advent-calendar/2025/dlang #Qiita #dlang

0 0 0 0
Preview
D言語でMicrosoft Component Object Model (COM) を使う (その15) - ...ing logging 4.0 D言語 Advent Calendar 2025 19日目の記事です。 COM使う編 D言語でMicrosoft Component Object Model (COM) を使う (その1) - ...ing logging 4.0 D言語でMicrosoft Component Object Model (COM) を使う (その2) - ...ing logging 4.0 D言語でMicro...

D言語でMicrosoft Component Object Model (COM) を使う (その15)
haru-s.hatenablog.com/entry/2025/1...

D言語 Advent Calendar 2025 qiita.com/advent-calendar/2025/dlang #Qiitaアドカレ #Qiita #dlang

0 0 0 0
Preview
D言語でMicrosoft Component Object Model (COM) を使う (その14) - ...ing logging 4.0 D言語 Advent Calendar 2025 18日目の記事です。 COM使う編 D言語でMicrosoft Component Object Model (COM) を使う (その1) - ...ing logging 4.0 D言語でMicrosoft Component Object Model (COM) を使う (その2) - ...ing logging 4.0 D言語でMicro...

D言語でMicrosoft Component Object Model (COM) を使う (その14)
haru-s.hatenablog.com/entry/2025/1...

D言語 Advent Calendar 2025に参加しました! qiita.com/advent-calen... #Qiita #dlang

1 0 0 0

After 10 years outside the C++ ghetto, it's surprising how much work there is to ensure the One Definition Rule. inline, static inline, unnamed namespaces, static const, constexpr... after #dlang where you put things wherever you want it feels so unnecessary. You can't put related things together.

1 0 0 0

【予約投稿】D言語でMicrosoft Component Object Model (COM) を使う (その11)
haru-s.hatenablog.com/entry/2025/1...

D言語 Advent Calendar 2025 qiita.com/advent-calen... #Qiitaアドカレ #Qiita #dlang

0 0 0 0
Preview
D言語でMicrosoft Component Object Model (COM) を使う (その10) - ...ing logging 4.0 D言語 Advent Calendar 2025 14日目の記事です。 COM使う編 D言語でMicrosoft Component Object Model (COM) を使う (その1) - ...ing logging 4.0 D言語でMicrosoft Component Object Model (COM) を使う (その2) - ...ing logging 4.0 D言語でMicro...

D言語でMicrosoft Component Object Model (COM) を使う (その10)
haru-s.hatenablog.com/entry/2025/1...

D言語 Advent Calendar 2025 qiita.com/advent-calendar/2025/dlang #Qiitaアドカレ #Qiita #dlang

0 0 0 0
Preview
D言語でMicrosoft Component Object Model (COM) を使う (その8) - ...ing logging 4.0 D言語 Advent Calendar 2025 12日目の記事です。 COM使う編 D言語でMicrosoft Component Object Model (COM) を使う (その1) - ...ing logging 4.0 D言語でMicrosoft Component Object Model (COM) を使う (その2) - ...ing logging 4.0 D言語でMicro...

D言語でMicrosoft Component Object Model (COM) を使う (その8)
haru-s.hatenablog.com/entry/2025/1...

D言語 Advent Calendar 2025 qiita.com/advent-calen... #Qiitaアドカレ #Qiita #dlang

0 0 0 0
Preview
D言語でMicrosoft Component Object Model (COM) を使う (その7) - ...ing logging 4.0 D言語 Advent Calendar 2025 11日目の記事です。 COM使う編 D言語でMicrosoft Component Object Model (COM) を使う (その1) - ...ing logging 4.0 D言語でMicrosoft Component Object Model (COM) を使う (その2) - ...ing logging 4.0 D言語でMicro...

D言語でMicrosoft Component Object Model (COM) を使う (その7)
haru-s.hatenablog.com/entry/2025/1...

D言語 Advent Calendar 2025 qiita.com/advent-calendar/2025/dlang #Qiitaアドカレ #Qiita #dlang

0 0 0 0
Preview
D言語でMicrosoft Component Object Model (COM) を使う (その6) - ...ing logging 4.0 D言語 Advent Calendar 2025 10日目の記事です。 D言語でMicrosoft Component Object Model (COM) を使う (その1) - ...ing logging 4.0 D言語でMicrosoft Component Object Model (COM) を使う (その2) - ...ing logging 4.0 D言語でMicrosoft Co...

D言語でMicrosoft Component Object Model (COM) を使う (その6)
haru-s.hatenablog.com/entry/2025/1...

D言語 Advent Calendar 2025 qiita.com/advent-calen... #Qiitaアドカレ #Qiita #dlang

0 0 0 0
Preview
D言語でMicrosoft Component Object Model (COM) を使う (その5) - ...ing logging 4.0 D言語 Advent Calendar 2025 8日目の記事です。 D言語でMicrosoft Component Object Model (COM) を使う (その1) - ...ing logging 4.0 D言語でMicrosoft Component Object Model (COM) を使う (その2) - ...ing logging 4.0 D言語でMicrosoft Com...

D言語でMicrosoft Component Object Model (COM) を使う (その5)
haru-s.hatenablog.com/entry/2025/1...

D言語 Advent Calendar 2025 qiita.com/advent-calendar/2025/dlang #Qiitaアドカレ #Qiita #dlang

0 0 0 0
Preview
D言語でMicrosoft Component Object Model (COM) を使う (その4) - ...ing logging 4.0 D言語 Advent Calendar 2025 7日目の記事です。 D言語でMicrosoft Component Object Model (COM) を使う (その1) - ...ing logging 4.0 D言語でMicrosoft Component Object Model (COM) を使う (その2) - ...ing logging 4.0 D言語でMicrosoft Com...

D言語でMicrosoft Component Object Model (COM) を使う (その4)
haru-s.hatenablog.com/entry/2025/1...

D言語 Advent Calendar 2025 qiita.com/advent-calen... #Qiitaアドカレ #Qiita #dlang

0 0 0 0
Preview
D言語でMicrosoft Component Object Model (COM) を使う (その3) - ...ing logging 4.0 D言語 Advent Calendar 2025 6日目の記事です。 D言語でMicrosoft Component Object Model (COM) を使う (その1) - ...ing logging 4.0 D言語でMicrosoft Component Object Model (COM) を使う (その2) - ...ing logging 4.0 その1でCOMインタフェースを使う...

D言語でMicrosoft Component Object Model (COM) を使う (その3)
haru-s.hatenablog.com/entry/2025/1...

D言語 Advent Calendar 2025 qiita.com/advent-calendar/2025/dlang #Qiitaアドカレ #Qiita #dlang

0 0 0 0