Commit Graph

1543 Commits

Author SHA1 Message Date
Paolo Cignoni 2d58480432 Corrected bug in == and != Matrix44 operators 2005-12-02 09:46:49 +00:00
Paolo Cignoni 4ef2e4aeae Reformatted 2005-12-02 00:49:50 +00:00
Paolo Cignoni 706d22e070 Enforced consistence of const parameters among all the funcs 2005-12-02 00:47:15 +00:00
Paolo Cignoni 688af7646e Ported to the vertexplus style 2005-12-02 00:46:12 +00:00
Paolo Cignoni b3db79d874 Reformatted and compacted flags code. 2005-12-02 00:44:41 +00:00
Paolo Cignoni db9a497910 Forgotten a base deferencing like the previous one
Note also the different possible sintax with this-> instead of the base class name
2005-12-02 00:43:31 +00:00
Paolo Cignoni cfd778ec1b Added and removed typenames for gcc compiling.
Added this-> qualifier for referencing the elemntes of the templated base class
(e.g. to refer the possibly overridden flags())  it seems to be needed by the standard
2005-12-02 00:41:38 +00:00
Paolo Cignoni 03007bab77 Corrected typename usage and removed excess ';' from end of template functions, for gcc compiling 2005-12-02 00:30:27 +00:00
Paolo Cignoni 02e28cc9e5 updated the templates of BasicGrid 2005-12-02 00:29:00 +00:00
Paolo Cignoni 15e94d470a removed excess typenames 2005-12-02 00:27:22 +00:00
Paolo Cignoni 6a70c599b2 Added and removed typenames for gcc compiling.
Added base class qualifier for referencing the elemntes of the templated base class (BasicGrid)
it seems to be needed by the standard
2005-12-02 00:25:13 +00:00
Paolo Cignoni 703e2d7dce Added typenames, ending cr and removed a MAXFLT disliked by gcc 2005-12-02 00:20:32 +00:00
Paolo Cignoni 0e5890dd55 Removed some pointer vs iterator issues that prevented gcc compilation 2005-12-02 00:14:43 +00:00
Paolo Cignoni 97f3e98cd2 Added and removed typenames for gcc compiling.
removed also some template arguments specifcation that gcc disliked...
commented out GetInSphereFace and SetMesh that are probably never used and i didnt succeed in compile
2005-12-02 00:13:34 +00:00
Paolo Cignoni f7cdd877ef Added assert(HasFlags) everywhere.. 2005-12-02 00:09:12 +00:00
Paolo Cignoni aaa04175d3 commented out an old TRACE 2005-12-02 00:06:37 +00:00
Paolo Cignoni cf80db3c13 Added HasFlags and a couple of missing include files 2005-12-02 00:05:34 +00:00
Paolo Cignoni 8ae47cd7c7 Added support for one texture mode (perwedge)
Changed texturemapid array into a safer vector
2005-12-02 00:03:22 +00:00
Paolo Cignoni d010453f42 Added loading of texturenames (normalmap still to do) 2005-12-02 00:01:30 +00:00
Paolo Cignoni 7bd3c4601a Moved and corrected interpret_texture_name from plystuff.h to plylib.cpp 2005-12-02 00:00:53 +00:00
Paolo Cignoni 2d7b7a4532 Removed excess ';' from end of template functions, for gcc compiling 2005-12-01 23:54:59 +00:00
Paolo Cignoni 2587a22c49 Added HasFlags 2005-12-01 23:54:29 +00:00
Paolo Cignoni 86e2eae135 add:
GetClosestVertex,
GetKClosestVertex,
GetInSphereVertex,
GetInBoxVertex,
ClosestIterator
2005-12-01 15:01:17 +00:00
Paolo Cignoni 6d5c0cd0f7 Removed excess ';' from end of template functions, for gcc compiling 2005-12-01 01:03:37 +00:00
Paolo Cignoni 0863ff9364 Added and removed typenames for gcc compiling... 2005-12-01 00:58:56 +00:00
Marco Di Benedetto 9cb3bc6dbb Added std:: namespace for max() and min(). 2005-11-30 16:01:25 +00:00
ganovelli cc0e745c09 creation 2005-11-30 14:44:47 +00:00
Federico Ponchio 7f2aac509e Fixed some UberZ fuynctions and non defined _flags 2005-11-30 14:05:04 +00:00
Marco Di Benedetto 0b08afa4f8 Added (int) cast to std::distance to prevent compiler warning message. 2005-11-30 10:32:44 +00:00
Marco Di Benedetto f229a9e9e6 Added methods to flag visibility. 2005-11-30 09:57:13 +00:00
Paolo Cignoni 5a7a294202 Added missing < operator 2005-11-30 08:38:01 +00:00
Nico Pietroni 29b3da5541 New version of spatial structures used 2005-11-29 16:21:18 +00:00
Nico Pietroni 5daefc19ce added IsInside() function 2005-11-29 16:20:33 +00:00
Paolo Cignoni 5e903fd16b added untested code of interpret_texture 2005-11-26 00:22:46 +00:00
Paolo Cignoni 13e9c8f264 Corrected a lot of bugs about the use of enabled entities 2005-11-26 00:16:44 +00:00
Paolo Cignoni 40dc547110 added HasPerWedgeTexture taking mesh as input. (needed for optional components) 2005-11-26 00:16:03 +00:00
Paolo Cignoni c5b331ff66 added prototype of interpret_texture_name 2005-11-26 00:12:25 +00:00
Paolo Cignoni 07d2259700 shot.camera -> shot.Camera()
shot.similarity.Matrix() -> shot.Similarity().Matrix()
2005-11-25 10:33:33 +00:00
Paolo Cignoni a00bf751be Added safe zero initialization of index of wedge texture 2005-11-25 10:23:27 +00:00
Paolo Cignoni 6a04d281df Added bound checking in texture access 2005-11-24 08:06:50 +00:00
Marco Callieri a31f11710a corrected protected access methods (camera, similarity) of shot 2005-11-23 16:59:55 +00:00
Nico Pietroni e463843198 corrected CrossProdGradient( ) 2005-11-23 16:24:44 +00:00
Nico Pietroni 5397953b4b 1 warning corrected 2005-11-23 15:55:35 +00:00
Nico Pietroni a671530c73 changed shot::similarity to shot::Similarity() and shot::camera to shot::Camera() 2005-11-23 15:48:25 +00:00
Nico Pietroni 7629e40b53 added cFFi function 2005-11-23 14:40:09 +00:00
ganovelli 29208970f0 added access to similarity (just for symmetry with Camera() ) 2005-11-23 14:18:35 +00:00
ganovelli bb972b9ace changed IsBOrder 2005-11-23 13:04:26 +00:00
ganovelli 63b79da781 Empty constructor added, untemplated class Shotf and Shotd added
usage: Shotf myShot;
corrected member access rights
2005-11-23 11:58:52 +00:00
Paolo Cignoni 88753fa7bc Added intiailization of flags to zero in the constructor, 2005-11-22 23:58:03 +00:00
Paolo Cignoni 7bca532292 Added a missing colormaterial for flatwire. 2005-11-22 23:57:28 +00:00