Results 1 to 9 of 9

Thread: Uniformity to match TBGL with other Modules

Threaded View

  1. #1
    thinBasic MVPs kryton9's Avatar
    Join Date
    Nov 2006
    Location
    Naples, Florida & Duluth, Georgia
    Age
    61
    Posts
    3,869
    Rep Power
    397

    Uniformity to match TBGL with other Modules

    Thanks to Primo's test of my test noise dll, it brought up an important issue of different types.
    In studying Ken Perlin's code, he uses floats, doubles, integers. Since I am adapting his code for thinBasic's use,
    I need your input Petr on what types all things should be so that I can make them compatible with TBGL.

    I do already see that you need to add a tbgl_trgbaf type or similar, so that floating point color values can be used. And if doubles supported, then will need to add a type for that. Up to you, I will write the code for dll accordingly to keep things uniform.

    So in essence, what should I use. For instance, I don't see int32 in the help but you had mentioned it before?:
    Perlin TBGL Use
    Double Double Single?
    Float Single Single?
    Int Long ?
    uint dword ?
    Last edited by kryton9; 14-05-2017 at 21:13.
    Acer Notebook: Win 10 Home 64 Bit, Core i7-4702MQ @ 2.2Ghz, 12 GB RAM, nVidia GTX 760M and Intel HD 4600
    Raspberry Pi 3: Raspbian OS use for Home Samba Server and Test HTTP Server

Similar Threads

  1. Meteorite hits fan at cricket match
    By Charles Pegge in forum Shout Box Area
    Replies: 3
    Last Post: 26-07-2010, 22:21
  2. Tools and modules
    By Michael Hartlef in forum thinStudio
    Replies: 1
    Last Post: 19-09-2008, 01:06
  3. New modules in development?
    By Michael Hartlef in forum Shout Box Area
    Replies: 25
    Last Post: 12-10-2007, 14:19
  4. Connection to other modules?
    By Michael Hartlef in forum Module SDK (Power Basic version)
    Replies: 12
    Last Post: 11-08-2007, 11:12
  5. FTP (and other) modules
    By Paul_Johnson in forum thinBasic General
    Replies: 2
    Last Post: 23-06-2006, 15:26

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •