Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
D

darkjade

@darkjade
About
Posts
1
Topics
0
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Help on snippet
    D darkjade

    Hi - since my C++ is a bit rusty, I'll give you a pseudocode representation of the snippet:

    for each face in faces
    do
    if "face is not a blank line"
    then
    for i = 1 to length(face)
    do
    v = face[i]
    if v is not in coords // coords is a hashtable
    then
    coords.add_item(key=v, value=index)
    index += 1
    verts.append(v)
    fi
    face[i] = coords.get_item(key=v)
    end for
    fi
    end for

    I think that should be it. Hope it helps. Meh, just saw the date on this post - but now I have already typed it, so might as well submit :P

    Linux, Apache, MySQL, PHP c++ python database tools help
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups