jaredhanson / jaredhanson/deamdify

Why removing 0s after decimal points?

Open
#45 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
196
Forks
29
PR merge metrics
No merged PRs in 30d

Description

WebGL programs with GLSL (e.g., gl_PointSize = 1.0) converted from javascript function strings are broken because of deamdify is remove then 0s after decimal points. Is any way to config this? Thanks.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the conversion of a JavaScript function string containing the GLSL expression gl_PointSize = 1.0 through deamdify. Trace where decimal values are transformed and determine whether configuration can preserve the trailing zero; done means the converted WebGL program remains valid and the behavior is covered by a regression test.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.