Skip to content

Convert shader reading code from C-style to C++ iostreams #7

@rpavlik

Description

@rpavlik

https://github.com/sensics/distortionizer/blob/master/shaders/undistort_shader.cpp#L94

I will refrain from passing judgement, recognizing that people are familiar with different things 😄 , just acknowledge that the code there can be made better or at least more idiomatic.

I can do it pretty quickly, if I get a chance (it's a handful of lines tops), though I'm not sure when that gets invoked so I'm not sure I'd be able to confidently say I didn't break it.

cc @russell-taylor

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