{"id":17315491,"url":"https://github.com/kenjihiranabe/vecmath-cpp","last_synced_at":"2025-03-27T01:28:09.000Z","repository":{"id":214632657,"uuid":"736961897","full_name":"kenjihiranabe/vecmath-cpp","owner":"kenjihiranabe","description":"C++ port of Java3D vecmath","archived":false,"fork":false,"pushed_at":"2024-01-04T07:28:09.000Z","size":312,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-01T07:17:44.966Z","etag":null,"topics":["linear-algebra","math","vecmath","vecmath-cpp-library"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kenjihiranabe.png","metadata":{"files":{"readme":"README","changelog":"CHANGES","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-12-29T11:38:26.000Z","updated_at":"2024-11-19T13:21:33.000Z","dependencies_parsed_at":"2024-01-04T08:47:48.106Z","dependency_job_id":null,"html_url":"https://github.com/kenjihiranabe/vecmath-cpp","commit_stats":null,"previous_names":["kenjihiranabe/vecmath-cpp"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kenjihiranabe%2Fvecmath-cpp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kenjihiranabe%2Fvecmath-cpp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kenjihiranabe%2Fvecmath-cpp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kenjihiranabe%2Fvecmath-cpp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kenjihiranabe","download_url":"https://codeload.github.com/kenjihiranabe/vecmath-cpp/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245763386,"owners_count":20668271,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["linear-algebra","math","vecmath","vecmath-cpp-library"],"created_at":"2024-10-15T13:08:41.167Z","updated_at":"2025-03-27T01:28:08.983Z","avatar_url":"https://github.com/kenjihiranabe.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"THIS IS OBSOLETE. READ README.md/README-ja.md\r\nI KEEP THIS FOR THE HISTORY REASON.\r\n\r\n-----------------------------------------------------\r\n C++ port of unofficial javax.vecmath package\r\n         by Kenji Hiranabe\r\n\r\n                                3/5 ,1999 version 1.1-1.0\r\n                               5/25 ,1999 version 1.1-1.1\r\n                               6/12 ,1999 version 1.1-1.2\r\n                               10/5 ,1999 version 1.2-1.3\r\n                              10/22 ,1999 version 1.2-1.4\r\n-----------------------------------------------------\r\n\r\n* INTRODUCTION\r\n\r\nThis is a C++ port of unofficial free implementation\r\n(source code release) of Java(TM) 3D API 1.2\r\nvecmath package.\r\n\r\nThis package supports vector/point transformation math\r\noften utilized in computer graphics.\r\n\r\nThe included classes are the followings.\r\n\r\n    * Tuples\r\n\r\n      Tuple2\u003cT\u003e      Tuple3\u003cT\u003e     Tuple4\u003cT\u003e\r\n        |             |             |\r\n        +Vector2\u003cT\u003e   +Vector3\u003cT\u003e   +Vector4\u003cT\u003e\r\n        +Point2\u003cT\u003e    +Point3\u003cT\u003e    +Point4\u003cT\u003e\r\n        +TexCoord2\u003cT\u003e +Color3\u003cT\u003e    +Quat4\u003cT\u003e\r\n                                    +Color4\u003cT\u003e\r\n      AxisAngle4\u003cT\u003e\r\n\r\n    * Matrices\r\n\r\n      Matrix3\u003cT\u003e     Matrix4\u003cT\u003e\r\n\r\nThese classes are (optionally) in the namespace of 'kh_vecmath'.\r\n\r\nYou can download the zipped or tar+gzipped source code from;\r\n\r\n       http://www.esm.co.jp/divisions/open-sys/java/vecmath/\r\n\r\n* FEATURES\r\n\r\n ** Highest priority to SPEED. No 'new' operators, no arrays, no virual functions.\r\n ** All files are *.h template header files. No need for linking libraries.\r\n ** Has a test suite.\r\n ** Aliasing-safe. i.e. v.cross(v,v1) or m.mul(m1,m) works.\r\n ** optional IO stream and  string conversion support.\r\n ** Java3D 1.2 specification is implemented, but no GVector and GMatrix yet.\r\n ** Works with standard C++ library (STL).\r\n\r\n* INSTALL\r\n\r\n1. unzip and untar the downloaded file, like;\r\n      % gunzip vecmath-c++-1.1-1.1.tar.gz\r\n      % tar xvf vecmath-c++-1.1-1.1.tar\r\n2. place all *.h files into your header directory.\r\n      % cp vecmath-c++/*.h \u003cyourdir\u003e\r\n3. write your C++ code, hello-vecmath.cpp\r\n\r\n    #include \u003ciostream\u003e\r\n    #include \"vecmath.h\"\r\n    using namespace kh_vecmath;   // depends on vm_config.h\r\n    int main(int, char**) {\r\n       Matrix3d m(1,2,3,4,5,6,7,8,9);\r\n       Vector3d v(2,3,4);\r\n       cout \u003c\u003c m*v;\r\n       return 0;\r\n    }\r\n\r\n4. compile, and run. don't forget to set include path to \u003cyourdir\u003e\r\n   when compilation.\r\n\r\non unix, \r\n    % g++ -I\u003cyourdir\u003e hello-vecmath.cpp -o hello-vecmath\r\n    % hello-vecmath\r\n\r\n5. (20,47,74) is printed, voila !\r\n6. if needed, configure \"vm_conf.h\".\r\n7. if needed, compile test programs(test-*.cpp) and run.\r\non unix,\r\n    % cp Makefile.unix Makefile\r\n    % make test\r\n\r\non Windows with Visual Studio, use 'vecmath.dsw'for workspace.\r\n\r\n* TESTED PLATFORMS AND COMPILERS\r\n\r\n(1) Sun Solaris2.6 on SPARCStation with gcc2.7.2(+ libstdc++-2.8.1.1),\r\n   gcc2.8.1 and egcs1.1.2\r\n\r\nfor gcc2.7.2, gcc2.8.1 namespace is not supported. vm_conf.h will automaticlly\r\nturns off VM_INCLUDE_NAMESPACE and eliminates namespace kh_vecmath.\r\n\r\n(2) Visual C++ 6.0 sp2\r\n  (Thanks \u003e \"Lucas Ammon\" \u003clammon@iam.unibe.ch\u003e)\r\n\r\n(3) Windows 95 + Cygwin b20 egcs-2.91.66 19990314 (egcs-1.1.2 release)\r\n  (Thanks \u003e Takayuki MATSUOKA \u003cmatsuoka@osaka.whoopeecamp.co.jp\u003e)\r\n\r\n(4) IRIX6.4 + MIPSPro7.2\r\n  (Thanks \u003e Katsuaki KAWACHI \u003ckawachi@cim.pe.u-tokyo.ac.jp\u003e)\r\n\r\n(5) Visual C++ 5.0\r\n  (Thanks \u003e Takayuki MATSUOKA \u003cmatsuoka@osaka.whoopeecamp.co.jp\u003e)\r\n  Add \"/D TESTALL\" and \"/I .\\\\\" to preprocessor macro when building\r\n  test project.\r\n\r\n..... please report on your platforms ! .....\r\n\r\n\r\n* TIPS\r\n\r\n** If you don't want namespace, #undef VM_INCLUDE_NAMESPAE in vm_conf.h.\r\n\r\n** If you don't want toString() method, #undef VM_INCLUDE_TOSTRING\r\n in vm_conf.h. This may solve compilation errors in other compilers.\r\n\r\n** If you don't want cout \u003c\u003c operation, #undef VM_INCLUDE_IO\r\n in vm_conf.h. This may solve compilation errors in other compilers.\r\n\r\n** All the math functions such as sin,cos,atan2 are encapsulated\r\nin VmUtil.h. If you have your own faster version, adjust the file.\r\n\r\n* FEEDBACK\r\n\r\nAny bug reports or comments are welcome.\r\nIf you think this package is useful, PLEASE give me feedback.\r\nI would like to hear what kind of applications you are working on !\r\n\r\n---\r\n  Eiwa System Management, Inc.  http://www.esm.co.jp/\r\n  Kenji Hiranabe                mailto:hiranabe@esm.co.jp\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkenjihiranabe%2Fvecmath-cpp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkenjihiranabe%2Fvecmath-cpp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkenjihiranabe%2Fvecmath-cpp/lists"}